akka.cluster.routing
Class MixMetricsSelector

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

public class MixMetricsSelector
extends MixMetricsSelectorBase
implements scala.Product, scala.Serializable

MetricsSelector that combines other selectors and aggregates their capacity values. By default it uses [akka.cluster.routing.HeapMetricsSelector], [akka.cluster.routing.CpuMetricsSelector], and [akka.cluster.routing.SystemLoadAverageMetricsSelector]

See Also:
Serialized Form

Constructor Summary
MixMetricsSelector(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)
           
 
Method Summary
static MixMetricsSelector$ getInstance()
          Java API: get the default singleton instance
 scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors()
           
 
Methods inherited from class akka.cluster.routing.MixMetricsSelectorBase
capacity
 
Methods inherited from class akka.cluster.routing.CapacityMetricsSelector
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
 
Methods inherited from interface akka.cluster.routing.MetricsSelector
fromConfig
 

Constructor Detail

MixMetricsSelector

public MixMetricsSelector(scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors)
Method Detail

getInstance

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


selectors

public scala.collection.immutable.IndexedSeq<CapacityMetricsSelector> selectors()