org.elasticsearch.gateway.local.state.meta
Class LocalGatewayMetaState
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.gateway.local.state.meta.LocalGatewayMetaState
- All Implemented Interfaces:
- ClusterStateListener
public class LocalGatewayMetaState
- extends AbstractComponent
- implements ClusterStateListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalGatewayMetaState
@Inject
public LocalGatewayMetaState(Settings settings,
ThreadPool threadPool,
NodeEnvironment nodeEnv,
TransportNodesListGatewayMetaState nodesListGatewayMetaState,
LocalAllocateDangledIndices allocateDangledIndices)
throws Exception
- Throws:
Exception
loadMetaState
public MetaData loadMetaState()
throws Exception
- Throws:
Exception
isDangling
public boolean isDangling(String index)
clusterChanged
public void clusterChanged(ClusterChangedEvent event)
- Description copied from interface:
ClusterStateListener
- Called when cluster state changes.
- Specified by:
clusterChanged
in interface ClusterStateListener
Copyright © 2009-2012. All Rights Reserved.