Package org.elasticsearch.indices.store
Class IndicesStore
java.lang.Object
org.elasticsearch.indices.store.IndicesStore
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,ClusterStateListener
public class IndicesStore extends java.lang.Object implements ClusterStateListener, java.io.Closeable
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTION_SHARD_EXISTSstatic Setting<TimeValue>INDICES_STORE_DELETE_SHARD_TIMEOUT -
Constructor Summary
Constructors Constructor Description IndicesStore(Settings settings, IndicesService indicesService, ClusterService clusterService, TransportService transportService, ThreadPool threadPool) -
Method Summary
Modifier and Type Method Description voidclose()voidclusterChanged(ClusterChangedEvent event)Called when cluster state changes.
-
Field Details
-
INDICES_STORE_DELETE_SHARD_TIMEOUT
-
ACTION_SHARD_EXISTS
public static final java.lang.String ACTION_SHARD_EXISTS- See Also:
- Constant Field Values
-
-
Constructor Details
-
IndicesStore
@Inject public IndicesStore(Settings settings, IndicesService indicesService, ClusterService clusterService, TransportService transportService, ThreadPool threadPool)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
clusterChanged
Description copied from interface:ClusterStateListenerCalled when cluster state changes.- Specified by:
clusterChangedin interfaceClusterStateListener
-