Class EngineRuntime.CpuGaugeSet

java.lang.Object
ch.rswk.meta.engine.EngineRuntime.CpuGaugeSet
All Implemented Interfaces:
com.codahale.metrics.Metric, com.codahale.metrics.MetricSet
Enclosing class:
EngineRuntime

private static class EngineRuntime.CpuGaugeSet extends Object implements com.codahale.metrics.MetricSet
  • Field Details

  • Constructor Details

    • CpuGaugeSet

      private CpuGaugeSet()
  • Method Details

    • getMetrics

      public Map<String,com.codahale.metrics.Metric> getMetrics()
      Specified by:
      getMetrics in interface com.codahale.metrics.MetricSet
    • getSystemCpuLoad

      private double getSystemCpuLoad()
    • getCpuProcessLoad

      private double getCpuProcessLoad()
    • getCpuTime

      private Long getCpuTime()