org.elasticsearch.cluster
Class ClusterChangedEvent
java.lang.Object
org.elasticsearch.cluster.ClusterChangedEvent
public class ClusterChangedEvent
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterChangedEvent
public ClusterChangedEvent(String source,
ClusterState state,
ClusterState previousState)
source
public 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(String index)
indicesCreated
public List<String> indicesCreated()
- Returns the indices created in this event
indicesDeleted
public List<String> indicesDeleted()
- Returns the indices deleted in this event
metaDataChanged
public boolean metaDataChanged()
indexMetaDataChanged
public boolean indexMetaDataChanged(IndexMetaData current)
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()
Copyright © 2009-2012. All Rights Reserved.