org.elasticsearch.cluster
Class ClusterChangedEvent

java.lang.Object
  extended by org.elasticsearch.cluster.ClusterChangedEvent

public class ClusterChangedEvent
extends java.lang.Object


Constructor Summary
ClusterChangedEvent(java.lang.String source, ClusterState state, ClusterState previousState, boolean firstMaster)
           
 
Method Summary
 boolean firstMaster()
           
 boolean localNodeMaster()
           
 boolean metaDataChanged()
           
 boolean nodesAdded()
           
 boolean nodesChanged()
           
 DiscoveryNodes.Delta nodesDelta()
           
 boolean nodesRemoved()
           
 ClusterState previousState()
           
 boolean routingTableChanged()
           
 java.lang.String source()
          The source that caused this cluster event to be raised.
 ClusterState state()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterChangedEvent

public ClusterChangedEvent(java.lang.String source,
                           ClusterState state,
                           ClusterState previousState,
                           boolean firstMaster)
Method Detail

source

public java.lang.String source()
The source that caused this cluster event to be raised.


state

public ClusterState state()

previousState

public ClusterState previousState()

routingTableChanged

public boolean routingTableChanged()

metaDataChanged

public boolean metaDataChanged()

localNodeMaster

public boolean localNodeMaster()

firstMaster

public boolean firstMaster()

nodesDelta

public DiscoveryNodes.Delta nodesDelta()

nodesRemoved

public boolean nodesRemoved()

nodesAdded

public boolean nodesAdded()

nodesChanged

public boolean nodesChanged()