org.elasticsearch.cluster
Class ClusterChangedEvent

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

public class ClusterChangedEvent
extends Object


Constructor Summary
ClusterChangedEvent(String source, ClusterState state, ClusterState previousState)
           
 
Method Summary
 boolean blocksChanged()
           
 boolean indexMetaDataChanged(IndexMetaData current)
           
 boolean indexRoutingTableChanged(String index)
           
 List<String> indicesCreated()
          Returns the indices created in this event
 List<String> indicesDeleted()
          Returns the indices deleted in this event
 boolean localNodeMaster()
           
 boolean metaDataChanged()
           
 boolean nodesAdded()
           
 boolean nodesChanged()
           
 DiscoveryNodes.Delta nodesDelta()
           
 boolean nodesRemoved()
           
 ClusterState previousState()
           
 boolean routingTableChanged()
           
 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(String source,
                           ClusterState state,
                           ClusterState previousState)
Method Detail

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.