Class SystemMetrics.SystemMetricsSnapshot

  • Enclosing class:
    SystemMetrics

    public static class SystemMetrics.SystemMetricsSnapshot
    extends Object
    • Constructor Detail

      • SystemMetricsSnapshot

        public SystemMetricsSnapshot​(double cpuLoad,
                                     long totalPhysicalMemory,
                                     long freePhysicalMemory,
                                     double maxHeapMemory,
                                     double usedHeapMemory)
    • Method Detail

      • getCpuLoad

        public double getCpuLoad()
      • getTotalPhysicalMemory

        public long getTotalPhysicalMemory()
      • getFreePhysicalMemory

        public long getFreePhysicalMemory()
      • getMaxHeapMemory

        public double getMaxHeapMemory()
      • getUsedHeapMemory

        public double getUsedHeapMemory()