public class ClusterChangedEvent extends Object
Constructor and Description |
---|
ClusterChangedEvent(String source,
ClusterState state,
ClusterState previousState) |
Modifier and Type | Method and Description |
---|---|
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() |
public ClusterChangedEvent(String source, ClusterState state, ClusterState previousState)
public String source()
public ClusterState state()
public ClusterState previousState()
public boolean routingTableChanged()
public boolean indexRoutingTableChanged(String index)
public boolean metaDataChanged()
public boolean indexMetaDataChanged(IndexMetaData current)
public boolean blocksChanged()
public boolean localNodeMaster()
public DiscoveryNodes.Delta nodesDelta()
public boolean nodesRemoved()
public boolean nodesAdded()
public boolean nodesChanged()
Copyright © 2009–2015. All rights reserved.