Interface VirtualMachinesStatistics

All Known Implementing Classes:
DefaultVirtualMachinesStatistics

public interface VirtualMachinesStatistics
An aggregated statistics view of all the different virtual machines currently discovered.
Author:
kimchy
  • Method Details

    • isNA

      boolean isNA()
      Returns true if this is not valid statistics.
    • getTimestamp

      long getTimestamp()
      Return the timestamp when the statistics were taken.
    • getTimeline

      Returns the timeline (from newest to oldest) history statistics, including this one.
    • getPreviousTimestamp

      long getPreviousTimestamp()
      Returns the previous timestamp of the statistics sampled, -1 if this is the first one.
    • getPrevious

      Returns the previous statistics sampled. null if this is the first one.
    • getDetails

      Returns the details of the all the virtual machines.
    • getSize

      int getSize()
      Returns the number of statistics (virtual machines) aggregated.
    • getUptime

      long getUptime()
    • getMemoryHeapCommittedInBytes

      long getMemoryHeapCommittedInBytes()
    • getMemoryHeapCommittedInMB

      double getMemoryHeapCommittedInMB()
    • getMemoryHeapCommittedInGB

      double getMemoryHeapCommittedInGB()
    • getMemoryHeapUsedInBytes

      long getMemoryHeapUsedInBytes()
    • getMemoryHeapUsedInMB

      double getMemoryHeapUsedInMB()
    • getMemoryHeapUsedInGB

      double getMemoryHeapUsedInGB()
    • getMemoryHeapUsedPerc

      double getMemoryHeapUsedPerc()
      Returns the memory heap percentage from used to the max.
    • getMemoryHeapCommittedUsedPerc

      double getMemoryHeapCommittedUsedPerc()
      Returns the memory heap percentage from used to committed.
    • getMemoryNonHeapCommittedInBytes

      long getMemoryNonHeapCommittedInBytes()
    • getMemoryNonHeapCommittedInMB

      double getMemoryNonHeapCommittedInMB()
    • getMemoryNonHeapCommittedInGB

      double getMemoryNonHeapCommittedInGB()
    • getMemoryNonHeapUsedInBytes

      long getMemoryNonHeapUsedInBytes()
    • getMemoryNonHeapUsedInMB

      double getMemoryNonHeapUsedInMB()
    • getMemoryNonHeapUsedInGB

      double getMemoryNonHeapUsedInGB()
    • getMemoryNonHeapUsedPerc

      double getMemoryNonHeapUsedPerc()
      Returns the memory non heap percentage from used to the max.
    • getMemoryNonHeapCommittedUsedPerc

      double getMemoryNonHeapCommittedUsedPerc()
      Returns the memory non heap percentage from used to committed.
    • getThreadCount

      int getThreadCount()
    • getPeakThreadCount

      int getPeakThreadCount()
    • getGcCollectionCount

      long getGcCollectionCount()
    • getGcCollectionTime

      long getGcCollectionTime()
    • getGcCollectionPerc

      double getGcCollectionPerc()
      The percentage of the gc collection time between the current sampled statistics and the previous one.