Class StandardMetrics.Cpu$

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    StandardMetrics

    public static class StandardMetrics.Cpu$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static StandardMetrics.Cpu$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Cpu$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      StandardMetrics.Cpu apply​(Address address, long timestamp, scala.Option<java.lang.Object> systemLoadAverage, scala.Option<java.lang.Object> cpuCombined, scala.Option<java.lang.Object> cpuStolen, int processors)  
      scala.Option<scala.Tuple6<Address,​java.lang.Object,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​java.lang.Object>> unapply​(NodeMetrics nodeMetrics)  
      scala.Option<scala.Tuple6<Address,​java.lang.Object,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​java.lang.Object>> unapply​(StandardMetrics.Cpu x$0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final StandardMetrics.Cpu$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Cpu$

        public Cpu$()
    • Method Detail

      • unapply

        public scala.Option<scala.Tuple6<Address,​java.lang.Object,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​java.lang.Object>> unapply​(NodeMetrics nodeMetrics)
      • apply

        public StandardMetrics.Cpu apply​(Address address,
                                         long timestamp,
                                         scala.Option<java.lang.Object> systemLoadAverage,
                                         scala.Option<java.lang.Object> cpuCombined,
                                         scala.Option<java.lang.Object> cpuStolen,
                                         int processors)
        Parameters:
        address - Address of the node the metrics are gathered at
        timestamp - the time of sampling, in milliseconds since midnight, January 1, 1970 UTC
        systemLoadAverage - OS-specific average load on the CPUs in the system, for the past 1 minute, The system is possibly nearing a bottleneck if the system load average is nearing number of cpus/cores.
        cpuCombined - combined CPU sum of User + Sys + Nice + Wait, in percentage ([0.0 - 1.0]. This metric can describe the amount of time the CPU spent executing code during n-interval and how much more it could theoretically.
        cpuStolen - stolen CPU time, in percentage ([0.0 - 1.0].
        processors - the number of available processors
        Returns:
        (undocumented)
      • unapply

        public scala.Option<scala.Tuple6<Address,​java.lang.Object,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>,​java.lang.Object>> unapply​(StandardMetrics.Cpu x$0)