|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.cluster.routing.CapacityMetricsSelector
akka.cluster.routing.CpuMetricsSelector
public class CpuMetricsSelector
MetricsSelector that uses the combined CPU metrics. Combined CPU is sum of User + Sys + Nice + Wait, in percentage. Low cpu capacity => small weight.
| Constructor Summary | |
|---|---|
CpuMetricsSelector()
|
|
| Method Summary | |
|---|---|
static scala.collection.immutable.Map<Address,java.lang.Object> |
capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
|
static CpuMetricsSelector$ |
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 |
|---|
public CpuMetricsSelector()
| Method Detail |
|---|
public static CpuMetricsSelector$ getInstance()
public static scala.collection.immutable.Map<Address,java.lang.Object> capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||