akka.cluster.routing
Interface MetricsSelector

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CapacityMetricsSelector, CpuMetricsSelector, CpuMetricsSelector$, HeapMetricsSelector, HeapMetricsSelector$, MixMetricsSelector, MixMetricsSelector$, MixMetricsSelectorBase, SystemLoadAverageMetricsSelector, SystemLoadAverageMetricsSelector$

public interface MetricsSelector
extends scala.Serializable

A MetricsSelector is responsible for producing weights from the node metrics.


Method Summary
 scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
          The weights per address, based on the the nodeMetrics.
 

Method Detail

weights

scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
The weights per address, based on the the nodeMetrics.