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, IndicesClusterStateService indicesClusterStateService) -
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, IndicesClusterStateService indicesClusterStateService)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
clusterChanged
Description copied from interface:ClusterStateListenerCalled 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:
clusterChangedin interfaceClusterStateListener
-