|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.cluster.routing.CapacityMetricsSelector
public abstract class CapacityMetricsSelector
A MetricsSelector producing weights from remaining capacity. The weights are typically proportional to the remaining capacity.
Constructor Summary | |
---|---|
CapacityMetricsSelector()
|
Method Summary | |
---|---|
abstract scala.collection.immutable.Map<Address,java.lang.Object> |
capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
Remaining capacity for each node. |
scala.collection.immutable.Map<Address,java.lang.Object> |
weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity)
Converts the capacity values to weights. |
scala.collection.immutable.Map<Address,java.lang.Object> |
weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
The weights per address, based on the capacity produced by the nodeMetrics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CapacityMetricsSelector()
Method Detail |
---|
public abstract scala.collection.immutable.Map<Address,java.lang.Object> capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
nodeMetrics
- (undocumented)
public scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity)
capacity
- (undocumented)
public scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
weights
in interface MetricsSelector
nodeMetrics
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |