Class MemoryCore
java.lang.Object
org.apache.storm.container.cgroup.core.MemoryCore
- All Implemented Interfaces:
CgroupCore
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
long
long
int
long
long
getStat()
int
getType()
int
long
long
boolean
boolean
void
setOomControl
(boolean flag) void
setPhysicalUsageLimit
(long value) void
setSwappiness
(int value) void
setUseHierarchy
(boolean flag) void
setWithSwapUsageLimit
(long value)
-
Field Details
-
MEMORY_STAT
- See Also:
-
MEMORY_USAGE_IN_BYTES
- See Also:
-
MEMORY_MEMSW_USAGE_IN_BYTES
- See Also:
-
MEMORY_MAX_USAGE_IN_BYTES
- See Also:
-
MEMORY_MEMSW_MAX_USAGE_IN_BYTES
- See Also:
-
MEMORY_LIMIT_IN_BYTES
- See Also:
-
MEMORY_MEMSW_LIMIT_IN_BYTES
- See Also:
-
MEMORY_FAILCNT
- See Also:
-
MEMORY_MEMSW_FAILCNT
- See Also:
-
MEMORY_FORCE_EMPTY
- See Also:
-
MEMORY_SWAPPINESS
- See Also:
-
MEMORY_USE_HIERARCHY
- See Also:
-
MEMORY_OOM_CONTROL
- See Also:
-
-
Constructor Details
-
MemoryCore
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceCgroupCore
-
getStat
- Throws:
IOException
-
getPhysicalUsage
- Throws:
IOException
-
getWithSwapUsage
- Throws:
IOException
-
getMaxPhysicalUsage
- Throws:
IOException
-
getMaxWithSwapUsage
- Throws:
IOException
-
getPhysicalUsageLimit
- Throws:
IOException
-
setPhysicalUsageLimit
- Throws:
IOException
-
getWithSwapUsageLimit
- Throws:
IOException
-
setWithSwapUsageLimit
- Throws:
IOException
-
getPhysicalFailCount
- Throws:
IOException
-
getWithSwapFailCount
- Throws:
IOException
-
clearForceEmpty
- Throws:
IOException
-
getSwappiness
- Throws:
IOException
-
setSwappiness
- Throws:
IOException
-
isUseHierarchy
- Throws:
IOException
-
setUseHierarchy
- Throws:
IOException
-
isOomControl
- Throws:
IOException
-
setOomControl
- Throws:
IOException
-