Package akka.cluster.metrics
Class StandardMetrics$
- java.lang.Object
-
- akka.cluster.metrics.StandardMetrics$
-
public class StandardMetrics$ extends java.lang.Object
Definitions of the built-in standard metrics.The following extractors and data structures makes it easy to consume the
NodeMetrics
in for example load balancers.
-
-
Field Summary
Fields Modifier and Type Field Description static StandardMetrics$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description StandardMetrics$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
CpuCombined()
Sum of User + Sys + Nice + Wait.java.lang.String
CpuIdle()
Amount of CPU time left after combined and stolen are removed.java.lang.String
CpuStolen()
The amount of CPU 'stolen' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).StandardMetrics.Cpu
extractCpu(NodeMetrics nodeMetrics)
StandardMetrics.HeapMemory
extractHeapMemory(NodeMetrics nodeMetrics)
java.lang.String
HeapMemoryCommitted()
java.lang.String
HeapMemoryMax()
java.lang.String
HeapMemoryUsed()
java.lang.String
Processors()
java.lang.String
SystemLoadAverage()
-
-
-
Field Detail
-
MODULE$
public static final StandardMetrics$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
HeapMemoryUsed
public final java.lang.String HeapMemoryUsed()
-
HeapMemoryCommitted
public final java.lang.String HeapMemoryCommitted()
-
HeapMemoryMax
public final java.lang.String HeapMemoryMax()
-
SystemLoadAverage
public final java.lang.String SystemLoadAverage()
-
Processors
public final java.lang.String Processors()
-
CpuCombined
public final java.lang.String CpuCombined()
Sum of User + Sys + Nice + Wait. See `org.hyperic.sigar.CpuPerc`
-
CpuStolen
public final java.lang.String CpuStolen()
The amount of CPU 'stolen' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).
-
CpuIdle
public final java.lang.String CpuIdle()
Amount of CPU time left after combined and stolen are removed.
-
extractHeapMemory
public StandardMetrics.HeapMemory extractHeapMemory(NodeMetrics nodeMetrics)
-
extractCpu
public StandardMetrics.Cpu extractCpu(NodeMetrics nodeMetrics)
-
-