Class CpuCore
java.lang.Object
org.apache.storm.container.cgroup.core.CpuCore
- All Implemented Interfaces:
CgroupCore
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintgetType()voidsetCpuCfsPeriodUs(long us) voidsetCpuCfsQuotaUs(long us) voidsetCpuRtPeriodUs(long us) voidsetCpuRtRuntimeUs(long us) voidsetCpuShares(int weight)
-
Field Details
-
CPU_SHARES
- See Also:
-
CPU_RT_RUNTIME_US
- See Also:
-
CPU_RT_PERIOD_US
- See Also:
-
CPU_CFS_PERIOD_US
- See Also:
-
CPU_CFS_QUOTA_US
- See Also:
-
CPU_STAT
- See Also:
-
-
Constructor Details
-
CpuCore
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceCgroupCore
-
getCpuRtRuntimeUs
- Throws:
IOException
-
setCpuRtRuntimeUs
- Throws:
IOException
-
getCpuRtPeriodUs
- Throws:
IOException
-
setCpuRtPeriodUs
- Throws:
IOException
-
getCpuCfsPeriodUs
- Throws:
IOException
-
setCpuCfsPeriodUs
- Throws:
IOException
-
getCpuCfsQuotaUs
- Throws:
IOException
-
setCpuCfsQuotaUs
- Throws:
IOException
-
getCpuStat
- Throws:
IOException
-