Class MemoryCore
java.lang.Object
org.apache.storm.container.cgroup.core.MemoryCore
- All Implemented Interfaces:
CgroupCore
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlonglongintlonglonggetStat()intgetType()intlonglongbooleanbooleanvoidsetOomControl(boolean flag) voidsetPhysicalUsageLimit(long value) voidsetSwappiness(int value) voidsetUseHierarchy(boolean flag) voidsetWithSwapUsageLimit(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:
getTypein 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
-