Interface ResourceContainerMXBean

  • All Superinterfaces:
    PlatformManagedObject

    public interface ResourceContainerMXBean
    extends PlatformManagedObject
    Platform-specific management interface for the resource container of the Java virtual machine.
    • 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:
      • getActiveContainerThreadIds

        List<Long> getActiveContainerThreadIds​(long id)
        Get how many active threads are running in container
        Parameters:
        id - container id
        Returns:
        thread id as list