akka.cluster.routing
Class HeapMetricsSelector

java.lang.Object
  extended by akka.cluster.routing.CapacityMetricsSelector
      extended by akka.cluster.routing.HeapMetricsSelector
All Implemented Interfaces:
MetricsSelector, java.io.Serializable, scala.Equals, scala.Product

public class HeapMetricsSelector
extends CapacityMetricsSelector
implements scala.Product, scala.Serializable

MetricsSelector that uses the heap metrics. Low heap capacity => small weight.

See Also:
Serialized Form

Constructor Summary
HeapMetricsSelector()
           
 
Method Summary
static scala.collection.immutable.Map<Address,java.lang.Object> capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
           
static HeapMetricsSelector$ getInstance()
          Java API: get the singleton instance
 
Methods inherited from class akka.cluster.routing.CapacityMetricsSelector
capacity, weights, weights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

HeapMetricsSelector

public HeapMetricsSelector()
Method Detail

getInstance

public static HeapMetricsSelector$ getInstance()
Java API: get the singleton instance

Returns:
(undocumented)

capacity

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