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.String
ACTION_SHARD_EXISTS
static Setting<org.elasticsearch.common.unit.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 void
close()
void
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
-
Field Details
-
INDICES_STORE_DELETE_SHARD_TIMEOUT
public static final Setting<org.elasticsearch.common.unit.TimeValue> 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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
clusterChanged
Description copied from interface:ClusterStateListener
Called when cluster state changes.- Specified by:
clusterChanged
in interfaceClusterStateListener
-