Package org.elasticsearch.indices.store
Class IndicesStore
java.lang.Object
org.elasticsearch.indices.store.IndicesStore
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ClusterStateListener
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIndicesStore
(Settings settings, IndicesService indicesService, ClusterService clusterService, TransportService transportService, ThreadPool threadPool) -
Method Summary
-
Field Details
-
INDICES_STORE_DELETE_SHARD_TIMEOUT
-
ACTION_SHARD_EXISTS
- See Also:
-
-
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 interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
clusterChanged
Description copied from interface:ClusterStateListener
Called when cluster state changes.Cluster states are applied one-by-one which means they can be a performance bottleneck. Implementations of this method should therefore be fast, so please consider forking work into the background rather than doing everything inline.
- Specified by:
clusterChanged
in interfaceClusterStateListener
-