| Modifier and Type | Field and Description |
|---|---|
| private CgroupV1SubsystemController | |
| private CgroupV1SubsystemController | |
| private CgroupV1SubsystemController | |
| private CgroupV1SubsystemController | |
| private static volatile CgroupV1Subsystem | |
| private CgroupV1MemorySubSystemController | |
| private CgroupV1SubsystemController | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public long | getBlkIOServiceCount()
Implements jdk. BlKIO Subsystem |
| public long | getBlkIOServiced()
Implements jdk. Returns the number of block I/O bytes that have been transferred to/from the disk by the Isolation Group. |
| public long | getCpuNumPeriods()
Implements jdk. Returns the number of time-slice periods that have elapsed if a CPU quota has been setup for the Isolation Group |
| public long | getCpuNumThrottled()
Implements jdk. Returns the number of time-slice periods that the group has been throttled or limited due to the group exceeding its quota if a CPU quota has been setup for the Isolation Group. |
| public long | |
| public long | getCpuQuota()
Implements jdk. Returns the total available run-time allowed, in microseconds, during each scheduling period for all tasks in the Isolation Group. |
| public int[] | |
| public double | getCpuSetMemoryPressure()
Implements jdk. Returns the (attempts per second * 1000), if enabled, that the operating system tries to satisfy a memory request for any process in the current Isolation Group when no free memory is readily available. |
| public int[] | getCpuSetMems()
Implements jdk. Returns the memory nodes that are available for use by processes in the current Isolation Group. |
| public long | getCpuShares()
Implements jdk. Returns the relative weighting of processes with the Isolation Group used for prioritizing the scheduling of processes across all Isolation Groups running on a host. |
| public long | getCpuSystemUsage()
Implements jdk. Returns the aggregate system time, in nanoseconds, consumed by all tasks in the Isolation Group. |
| public long | getCpuThrottledTime()
Implements jdk. Returns the total time duration, in nanoseconds, that the group has been throttled or limited due to the group exceeding its quota if a CPU quota has been setup for the Isolation Group. |
| public long | |
| public long | getCpuUserUsage()
Implements jdk. Returns the aggregate user time, in nanoseconds, consumed by all tasks in the Isolation Group. |
| public long | getEffectiveCpuCount()
Implements jdk. Returns the number of effective processors that this Isolation group has available to it. |
| public int[] | getEffectiveCpuSetCpus()
Implements jdk. Returns the CPUS that are available and online for execution of processes within the current Isolation Group. |
| public int[] | getEffectiveCpuSetMems()
Implements jdk. Returns the memory nodes that are available and online for use by processes within the current Isolation Group. |
| private static boolean | |
| public static CgroupV1Subsystem | Returns: A singleton CgroupV1Subsystem instance, never nullGet a singleton instance of CgroupV1Subsystem. |
| public long | getKernelMemoryFailCount()
Implements jdk. Returns the number of times that kernel memory requests in the Isolation Group have exceeded the kernel memory limit. |
| public long | getKernelMemoryMaxUsage()
Implements jdk. Returns the largest amount of kernel physical memory, in bytes, that have been allocated in the Isolation Group. |
| public long | getKernelMemoryUsage()
Implements jdk. Returns the amount of kernel physical memory, in bytes, that is currently allocated in the current Isolation Group. |
| private static long | |
| public long | getMemoryAndSwapFailCount()
Implements jdk. Returns the number of times that user memory requests in the Isolation Group have exceeded the memory + swap limit. |
| public long | getMemoryAndSwapLimit()
Implements jdk. Returns the maximum amount of physical memory and swap space, in bytes, that can be allocated in the Isolation Group. |
| public long | getMemoryAndSwapMaxUsage()
Implements jdk. Returns the largest amount of physical memory and swap space, in bytes, that have been allocated in the Isolation Group. |
| public long | getMemoryAndSwapUsage()
Implements jdk. Returns the amount of physical memory and swap space, in bytes, that is currently allocated in the current Isolation Group. |
| public long | |
| public long | getMemoryLimit()
Implements jdk. Returns the maximum amount of physical memory, in bytes, that can be allocated in the Isolation Group. |
| public long | getMemoryMaxUsage()
Implements jdk. Returns the largest amount of physical memory, in bytes, that have been allocated in the Isolation Group. |
| public long | getMemorySoftLimit()
Implements jdk. Returns the hint to the operating system that allows groups to specify the minimum amount of physical memory that they need to achieve reasonable performance in low memory systems. |
| public long | getMemoryUsage()
Implements jdk. Returns the amount of physical memory, in bytes, that is currently allocated in the current Isolation Group. |
| public long[] | getPerCpuUsage()
Implements jdk. Returns the aggregate time, in nanoseconds, consumed by all tasks in the Isolation Group, separated by CPU. |
| public long | getPidsCurrent()
Implements jdk. Returns the current number of tasks in the Isolation Group. |
| public long | |
| public String | getProvider()
Implements jdk. Returns the interface responsible for providing the platform metrics. |
| private static boolean | |
| public long | getTcpMemoryFailCount()
Implements jdk. Returns the number of times that networking memory requests in the Isolation Group have exceeded the kernel memory limit. |
| public long | getTcpMemoryMaxUsage()
Implements jdk. Returns the largest amount of networking physical memory, in bytes, that have been allocated in the Isolation Group. |
| public long | getTcpMemoryUsage()
Implements jdk. Returns the amount of networking physical memory, in bytes, that is currently allocated in the current Isolation Group. |
| private static CgroupV1Subsystem | |
| public Boolean | isCpuSetMemoryPressureEnabled()
Implements jdk. Returns the state of the memory pressure detection support. |
| public Boolean | isMemoryOOMKillEnabled()
Implements jdk. Returns the state of the Operating System Out of Memory termination policy. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| blkio | back to summary |
|---|---|
| private CgroupV1SubsystemController blkio | |
| cpu | back to summary |
|---|---|
| private CgroupV1SubsystemController cpu | |
| cpuacct | back to summary |
|---|---|
| private CgroupV1SubsystemController cpuacct | |
| cpuset | back to summary |
|---|---|
| private CgroupV1SubsystemController cpuset | |
| INSTANCE | back to summary |
|---|---|
| private static volatile CgroupV1Subsystem INSTANCE | |
| memory | back to summary |
|---|---|
| private CgroupV1MemorySubSystemController memory | |
| pids | back to summary |
|---|---|
| private CgroupV1SubsystemController pids | |
| PROVIDER_NAME | back to summary |
|---|---|
| private static final String PROVIDER_NAME | |
| CgroupV1Subsystem | back to summary |
|---|---|
| private CgroupV1Subsystem() | |
| getBlkIOServiceCount | back to summary |
|---|---|
| public long getBlkIOServiceCount() Implements jdk. BlKIO Subsystem | |
| getBlkIOServiced | back to summary |
|---|---|
| public long getBlkIOServiced() Implements jdk. Doc from jdk. Returns the number of block I/O bytes that have been transferred to/from the disk by the Isolation Group. | |
| getCpuNumPeriods | back to summary |
|---|---|
| public long getCpuNumPeriods() Implements jdk. Doc from jdk. Returns the number of time-slice periods that have elapsed if a CPU quota has been setup for the Isolation Group | |
| getCpuNumThrottled | back to summary |
|---|---|
| public long getCpuNumThrottled() Implements jdk. Doc from jdk. Returns the number of time-slice periods that the group has been throttled or limited due to the group exceeding its quota if a CPU quota has been setup for the Isolation Group. | |
| getCpuPeriod | back to summary |
|---|---|
| public long getCpuPeriod() Implements jdk. CPU Subsystem | |
| getCpuQuota | back to summary |
|---|---|
| public long getCpuQuota() Implements jdk. Doc from jdk. Returns the total available run-time allowed, in microseconds, during each scheduling period for all tasks in the Isolation Group. | |
| getCpuSetCpus | back to summary |
|---|---|
| public int[] getCpuSetCpus() Implements jdk. CPUSet Subsystem | |
| getCpuSetMemoryPressure | back to summary |
|---|---|
| public double getCpuSetMemoryPressure() Implements jdk. Doc from jdk. Returns the (attempts per second * 1000), if enabled, that the
operating system tries to satisfy a memory request for any
process in the current Isolation Group when no free memory is
readily available. Use | |
| getCpuSetMems | back to summary |
|---|---|
| public int[] getCpuSetMems() Implements jdk. Doc from jdk. Returns the memory nodes that are available for use by processes
in the current Isolation Group. The size of the array is equal
to the total number of nodes and the elements in the array are the
physical node numbers that are available. Some of the nodes returned
may be offline. To get the current online memory nodes, use
| |
| getCpuShares | back to summary |
|---|---|
| public long getCpuShares() Implements jdk. Doc from jdk. Returns the relative weighting of processes with the Isolation Group used for prioritizing the scheduling of processes across all Isolation Groups running on a host. | |
| getCpuSystemUsage | back to summary |
|---|---|
| public long getCpuSystemUsage() Implements jdk. Doc from jdk. Returns the aggregate system time, in nanoseconds, consumed by all tasks in the Isolation Group. | |
| getCpuThrottledTime | back to summary |
|---|---|
| public long getCpuThrottledTime() Implements jdk. Doc from jdk. Returns the total time duration, in nanoseconds, that the group has been throttled or limited due to the group exceeding its quota if a CPU quota has been setup for the Isolation Group. | |
| getCpuUsage | back to summary |
|---|---|
| public long getCpuUsage() Implements jdk. CPU Accounting Subsystem | |
| getCpuUserUsage | back to summary |
|---|---|
| public long getCpuUserUsage() Implements jdk. Doc from jdk. Returns the aggregate user time, in nanoseconds, consumed by all tasks in the Isolation Group. | |
| getEffectiveCpuCount | back to summary |
|---|---|
| public long getEffectiveCpuCount() Implements jdk. Doc from jdk. Returns the number of effective processors that this Isolation
group has available to it. This effective processor count is
computed based on the number of dedicated CPUs, CPU shares and
CPU quotas in effect for this isolation group.
This method returns the same value as
| |
| getEffectiveCpuSetCpus | back to summary |
|---|---|
| public int[] getEffectiveCpuSetCpus() Implements jdk. Doc from jdk. Returns the CPUS that are available and online for execution of processes within the current Isolation Group. The size of the array is equal to the total number of CPUs and the elements in the array are the physical CPU numbers. | |
| getEffectiveCpuSetMems | back to summary |
|---|---|
| public int[] getEffectiveCpuSetMems() Implements jdk. Doc from jdk. Returns the memory nodes that are available and online for use by processes within the current Isolation Group. The size of the array is equal to the total number of nodes and the elements in the array are the physical node numbers. | |
| getHierarchical | back to summary |
|---|---|
| private static boolean getHierarchical(CgroupV1MemorySubSystemController controller) | |
| getInstance | back to summary |
|---|---|
| public static CgroupV1Subsystem getInstance(Map<String, CgroupInfo> infos) Get a singleton instance of CgroupV1Subsystem. Initially, it creates a new object by retrieving the pre-parsed information from cgroup interface files from the provided 'infos' map. See CgroupSubsystemFactory.determineType() where the actual parsing of cgroup interface files happens.
| |
| getKernelMemoryFailCount | back to summary |
|---|---|
| public long getKernelMemoryFailCount() Implements jdk. Doc from jdk. Returns the number of times that kernel memory requests in the Isolation Group have exceeded the kernel memory limit. | |
| getKernelMemoryMaxUsage | back to summary |
|---|---|
| public long getKernelMemoryMaxUsage() Implements jdk. Doc from jdk. Returns the largest amount of kernel physical memory, in bytes, that have been allocated in the Isolation Group. | |
| getKernelMemoryUsage | back to summary |
|---|---|
| public long getKernelMemoryUsage() Implements jdk. Doc from jdk. Returns the amount of kernel physical memory, in bytes, that is currently allocated in the current Isolation Group. | |
| getLongValue | back to summary |
|---|---|
| private static long getLongValue(CgroupSubsystemController controller, String param) | |
| getMemoryAndSwapFailCount | back to summary |
|---|---|
| public long getMemoryAndSwapFailCount() Implements jdk. Doc from jdk. Returns the number of times that user memory requests in the Isolation Group have exceeded the memory + swap limit. | |
| getMemoryAndSwapLimit | back to summary |
|---|---|
| public long getMemoryAndSwapLimit() Implements jdk. Doc from jdk. Returns the maximum amount of physical memory and swap space, in bytes, that can be allocated in the Isolation Group. | |
| getMemoryAndSwapMaxUsage | back to summary |
|---|---|
| public long getMemoryAndSwapMaxUsage() Implements jdk. Doc from jdk. Returns the largest amount of physical memory and swap space, in bytes, that have been allocated in the Isolation Group. | |
| getMemoryAndSwapUsage | back to summary |
|---|---|
| public long getMemoryAndSwapUsage() Implements jdk. Doc from jdk. Returns the amount of physical memory and swap space, in bytes, that is currently allocated in the current Isolation Group. | |
| getMemoryFailCount | back to summary |
|---|---|
| public long getMemoryFailCount() Implements jdk. Memory Subsystem | |
| getMemoryLimit | back to summary |
|---|---|
| public long getMemoryLimit() Implements jdk. Doc from jdk. Returns the maximum amount of physical memory, in bytes, that can be allocated in the Isolation Group. | |
| getMemoryMaxUsage | back to summary |
|---|---|
| public long getMemoryMaxUsage() Implements jdk. Doc from jdk. Returns the largest amount of physical memory, in bytes, that have been allocated in the Isolation Group. | |
| getMemorySoftLimit | back to summary |
|---|---|
| public long getMemorySoftLimit() Implements jdk. Doc from jdk. Returns the hint to the operating system that allows groups to specify the minimum amount of physical memory that they need to achieve reasonable performance in low memory systems. This allows host systems to provide greater sharing of memory. | |
| getMemoryUsage | back to summary |
|---|---|
| public long getMemoryUsage() Implements jdk. Doc from jdk. Returns the amount of physical memory, in bytes, that is currently allocated in the current Isolation Group. | |
| getPerCpuUsage | back to summary |
|---|---|
| public long[] getPerCpuUsage() Implements jdk. Doc from jdk. Returns the aggregate time, in nanoseconds, consumed by all tasks in the Isolation Group, separated by CPU. If the current process is running within a container, the reported time will only be valid for processes running within the same container. The values are returned in an array, one entry for each physical processor on the system. Time values for processors unavailable to this Group are undefined. | |
| getPidsCurrent | back to summary |
|---|---|
| public long getPidsCurrent() Implements jdk. Doc from jdk. Returns the current number of tasks in the Isolation Group. | |
| getPidsMax | back to summary |
|---|---|
| public long getPidsMax() Implements jdk. pids subsystem | |
| getProvider | back to summary |
|---|---|
| public String getProvider() Implements jdk. Doc from jdk. Returns the interface responsible for providing the platform metrics. | |
| getSwapEnabled | back to summary |
|---|---|
| private static boolean getSwapEnabled(CgroupV1MemorySubSystemController controller) | |
| getTcpMemoryFailCount | back to summary |
|---|---|
| public long getTcpMemoryFailCount() Implements jdk. Doc from jdk. Returns the number of times that networking memory requests in the Isolation Group have exceeded the kernel memory limit. | |
| getTcpMemoryMaxUsage | back to summary |
|---|---|
| public long getTcpMemoryMaxUsage() Implements jdk. Doc from jdk. Returns the largest amount of networking physical memory, in bytes, that have been allocated in the Isolation Group. | |
| getTcpMemoryUsage | back to summary |
|---|---|
| public long getTcpMemoryUsage() Implements jdk. Doc from jdk. Returns the amount of networking physical memory, in bytes, that is currently allocated in the current Isolation Group. | |
| initSubSystem | back to summary |
|---|---|
| private static CgroupV1Subsystem initSubSystem(Map<String, CgroupInfo> infos) | |
| isCpuSetMemoryPressureEnabled | back to summary |
|---|---|
| public Boolean isCpuSetMemoryPressureEnabled() Implements jdk. Doc from jdk. Returns the state of the memory pressure detection support. | |
| isMemoryOOMKillEnabled | back to summary |
|---|---|
| public Boolean isMemoryOOMKillEnabled() Implements jdk. Doc from jdk. Returns the state of the Operating System Out of Memory termination policy. | |
| setBlkIOController | back to summary |
|---|---|
| private void setBlkIOController(CgroupV1SubsystemController blkio) | |
| setCpuAcctController | back to summary |
|---|---|
| private void setCpuAcctController(CgroupV1SubsystemController cpuacct) | |
| setCpuController | back to summary |
|---|---|
| private void setCpuController(CgroupV1SubsystemController cpu) | |
| setCpuSetController | back to summary |
|---|---|
| private void setCpuSetController(CgroupV1SubsystemController cpuset) | |
| setMemorySubSystem | back to summary |
|---|---|
| private void setMemorySubSystem(CgroupV1MemorySubSystemController memory) | |
| setPidsController | back to summary |
|---|---|
| private void setPidsController(CgroupV1SubsystemController pids) | |