public class CpuMetricsSelector$ extends CapacityMetricsSelector implements scala.Product, scala.Serializable
Low CPU capacity => small node weight.
| Modifier and Type | Field and Description |
|---|---|
static CpuMetricsSelector$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
CpuMetricsSelector$() |
| Modifier and Type | Method and Description |
|---|---|
scala.collection.immutable.Map<Address,java.lang.Object> |
capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
Remaining capacity for each node.
|
double |
factor()
How much extra weight to give to the stolen time.
|
CpuMetricsSelector$ |
getInstance()
Java API: get the singleton instance
|
weights, weightsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final CpuMetricsSelector$ MODULE$
public CpuMetricsSelector$ getInstance()
public double factor()
public scala.collection.immutable.Map<Address,java.lang.Object> capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
CapacityMetricsSelectorcapacity in class CapacityMetricsSelectornodeMetrics - (undocumented)