-
- All Superinterfaces:
PlatformManagedObject
public interface ResourceContainerMXBean extends PlatformManagedObject
Platform-specific management interface for the resource container of the Java virtual machine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Long>
getActiveContainerThreadIds(long id)
Get how many active threads are running in containerList<Long>
getAllContainerIds()
Get all running containers uniq id as ListList<Long>
getConstraintsById(long id)
Get a specific container's constraints by idlong
getCPUResourceConsumedAmount(long id)
Get the total cpu time consumed by id specified containerlong
getCPUResourceLimitReachedCount(long id)
Get how many times the resource limitation has been reached-
Methods declared in interface java.lang.management.PlatformManagedObject
getObjectName
-
-
-
-
Method Detail
-
getAllContainerIds
List<Long> getAllContainerIds()
Get all running containers uniq id as List- Returns:
- all active containers' id
-
getConstraintsById
List<Long> getConstraintsById(long id)
Get a specific container's constraints by id- Parameters:
id
- container id- Returns:
- constraints as list
-
getCPUResourceConsumedAmount
long getCPUResourceConsumedAmount(long id)
Get the total cpu time consumed by id specified container- Parameters:
id
- container id- Returns:
- consumed cpu time by nanosecond
-
getCPUResourceLimitReachedCount
long getCPUResourceLimitReachedCount(long id)
Get how many times the resource limitation has been reached- Parameters:
id
-- Returns:
-
-