Class SystemLoadAverageMetricsSelector


  • public class SystemLoadAverageMetricsSelector
    extends java.lang.Object
    MetricsSelector that uses the system load average metrics. System load average is 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. Low load average capacity => small weight.
    • Constructor Detail

      • SystemLoadAverageMetricsSelector

        public SystemLoadAverageMetricsSelector()
    • Method Detail

      • capacity

        public static scala.collection.immutable.Map<Address,​java.lang.Object> capacity​(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
      • productPrefix

        public static java.lang.String productPrefix()
      • productArity

        public static int productArity()
      • productElement

        public static java.lang.Object productElement​(int x$1)
      • productIterator

        public static scala.collection.Iterator<java.lang.Object> productIterator()
      • canEqual

        public static boolean canEqual​(java.lang.Object x$1)
      • hashCode

        public static int hashCode()
      • toString

        public static java.lang.String toString()
      • weights

        public static scala.collection.immutable.Map<Address,​java.lang.Object> weights​(scala.collection.immutable.Map<Address,​java.lang.Object> capacity)
      • weights

        public static scala.collection.immutable.Map<Address,​java.lang.Object> weights​(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
      • equals

        public abstract static boolean equals​(java.lang.Object that)
      • productElementName

        public static java.lang.String productElementName​(int n)
      • productElementNames

        public static scala.collection.Iterator<java.lang.String> productElementNames()