Class CpuCore
java.lang.Object
org.apache.storm.container.cgroup.core.CpuCore
- All Implemented Interfaces:
CgroupCore
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
getType()
void
setCpuCfsPeriodUs
(long us) void
setCpuCfsQuotaUs
(long us) void
setCpuRtPeriodUs
(long us) void
setCpuRtRuntimeUs
(long us) void
setCpuShares
(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:
getType
in 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
-