org.elasticsearch.cluster.node
Class DiscoveryNodes.Delta
java.lang.Object
org.elasticsearch.cluster.node.DiscoveryNodes.Delta
- Enclosing class:
- DiscoveryNodes
public static class DiscoveryNodes.Delta
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoveryNodes.Delta
public DiscoveryNodes.Delta(java.lang.String localNodeId,
org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> removed,
org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> added)
DiscoveryNodes.Delta
public DiscoveryNodes.Delta(@Nullable
DiscoveryNode previousMasterNode,
@Nullable
DiscoveryNode newMasterNode,
java.lang.String localNodeId,
org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> removed,
org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> added)
hasChanges
public boolean hasChanges()
masterNodeChanged
public boolean masterNodeChanged()
previousMasterNode
public DiscoveryNode previousMasterNode()
newMasterNode
public DiscoveryNode newMasterNode()
removed
public boolean removed()
removedNodes
public org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> removedNodes()
added
public boolean added()
addedNodes
public org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> addedNodes()
shortSummary
public java.lang.String shortSummary()