Package akka.cluster.metrics
Class SystemLoadAverageMetricsSelector
- java.lang.Object
-
- akka.cluster.metrics.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 Summary
Constructors Constructor Description SystemLoadAverageMetricsSelector()
-
Method Summary
All Methods Static Methods Abstract Methods Concrete Methods Modifier and Type Method Description static boolean
canEqual(java.lang.Object x$1)
static scala.collection.immutable.Map<Address,java.lang.Object>
capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
abstract static boolean
equals(java.lang.Object that)
static SystemLoadAverageMetricsSelector$
getInstance()
Java API: get the singleton instancestatic int
hashCode()
static int
productArity()
static java.lang.Object
productElement(int x$1)
static java.lang.String
productElementName(int n)
static scala.collection.Iterator<java.lang.String>
productElementNames()
static scala.collection.Iterator<java.lang.Object>
productIterator()
static java.lang.String
productPrefix()
static java.lang.String
toString()
static scala.collection.immutable.Map<Address,java.lang.Object>
weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity)
static scala.collection.immutable.Map<Address,java.lang.Object>
weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
-
-
-
Method Detail
-
getInstance
public static SystemLoadAverageMetricsSelector$ getInstance()
Java API: get the singleton instance
-
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()
-
-