public final class MetricsGossip
extends java.lang.Object
implements scala.Product, scala.Serializable
| Constructor and Description |
|---|
MetricsGossip(scala.collection.immutable.Set<NodeMetrics> nodes) |
| Modifier and Type | Method and Description |
|---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
static MetricsGossip |
empty() |
abstract static boolean |
equals(java.lang.Object that) |
MetricsGossip |
filter(scala.collection.immutable.Set<Address> includeNodes)
Only the nodes that are in the
includeNodes Set. |
MetricsGossip |
merge(MetricsGossip otherGossip)
Adds new remote
NodeMetrics and merges existing from a remote gossip. |
scala.Option<NodeMetrics> |
nodeMetricsFor(Address address)
Returns
NodeMetrics for a node if exists. |
scala.collection.immutable.Set<NodeMetrics> |
nodes() |
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() |
MetricsGossip |
remove(Address node)
Removes nodes if their correlating node ring members are not
MemberStatus Up. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MetricsGossip(scala.collection.immutable.Set<NodeMetrics> nodes)
public static MetricsGossip empty()
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()
public scala.collection.immutable.Set<NodeMetrics> nodes()
public MetricsGossip remove(Address node)
MemberStatus Up.node - (undocumented)public MetricsGossip filter(scala.collection.immutable.Set<Address> includeNodes)
includeNodes Set.includeNodes - (undocumented)public MetricsGossip merge(MetricsGossip otherGossip)
NodeMetrics and merges existing from a remote gossip.otherGossip - (undocumented)public scala.Option<NodeMetrics> nodeMetricsFor(Address address)
NodeMetrics for a node if exists.address - (undocumented)