org.elasticsearch.cluster.node
Class DiscoveryNodes.Delta

java.lang.Object
  extended by org.elasticsearch.cluster.node.DiscoveryNodes.Delta
Enclosing class:
DiscoveryNodes

public static class DiscoveryNodes.Delta
extends java.lang.Object


Constructor Summary
DiscoveryNodes.Delta(DiscoveryNode previousMasterNode, DiscoveryNode newMasterNode, java.lang.String localNodeId, org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> removed, org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> added)
           
DiscoveryNodes.Delta(java.lang.String localNodeId, org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> removed, org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> added)
           
 
Method Summary
 boolean added()
           
 org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> addedNodes()
           
 boolean hasChanges()
           
 boolean masterNodeChanged()
           
 DiscoveryNode newMasterNode()
           
 DiscoveryNode previousMasterNode()
           
 boolean removed()
           
 org.elasticsearch.common.collect.ImmutableList<DiscoveryNode> removedNodes()
           
 java.lang.String shortSummary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()