Package akka.cluster.metrics
Class HeapMetricsSelector
- java.lang.Object
-
- akka.cluster.metrics.HeapMetricsSelector
-
public class HeapMetricsSelector extends java.lang.Object
MetricsSelector that uses the heap metrics. Low heap capacity => small weight.
-
-
Constructor Summary
Constructors Constructor Description HeapMetricsSelector()
-
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 HeapMetricsSelector$
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 HeapMetricsSelector$ 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()
-
-