org.elasticsearch.cluster
Class ClusterChangedEvent
java.lang.Object
org.elasticsearch.cluster.ClusterChangedEvent
public class ClusterChangedEvent
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterChangedEvent
public ClusterChangedEvent(java.lang.String source,
ClusterState state,
ClusterState previousState)
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()
indexRoutingTableChanged
public boolean indexRoutingTableChanged(java.lang.String index)
indicesCreated
public java.util.List<java.lang.String> indicesCreated()
- Returns the indices created in this event
indicesDeleted
public java.util.List<java.lang.String> indicesDeleted()
- Returns the indices deleted in this event
metaDataChanged
public boolean metaDataChanged()
blocksChanged
public boolean blocksChanged()
localNodeMaster
public boolean localNodeMaster()
nodesDelta
public DiscoveryNodes.Delta nodesDelta()
nodesRemoved
public boolean nodesRemoved()
nodesAdded
public boolean nodesAdded()
nodesChanged
public boolean nodesChanged()