public class CpuMetricsSelector
extends java.lang.Object
Low CPU capacity => small node weight.
Constructor and Description |
---|
CpuMetricsSelector() |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
static scala.collection.immutable.Map<Address,java.lang.Object> |
capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) |
abstract static boolean |
equals(java.lang.Object that) |
static double |
factor()
How much extra weight to give to the stolen time.
|
static CpuMetricsSelector$ |
getInstance()
Java API: get the singleton instance
|
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
static scala.collection.immutable.Map<Address,java.lang.Object> |
weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity) |
static scala.collection.immutable.Map<Address,java.lang.Object> |
weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) |
public static CpuMetricsSelector$ getInstance()
public static double factor()
public static scala.collection.immutable.Map<Address,java.lang.Object> capacity(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
public static scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Map<Address,java.lang.Object> capacity)
public static scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()