Module org.elasticsearch.server
Package org.elasticsearch.snapshots
Class InternalSnapshotsInfoService
java.lang.Object
org.elasticsearch.snapshots.InternalSnapshotsInfoService
- All Implemented Interfaces:
- ClusterStateListener,- SnapshotsInfoService
public class InternalSnapshotsInfoService
extends Object
implements ClusterStateListener, SnapshotsInfoService
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescription
- 
Constructor SummaryConstructorsConstructorDescriptionInternalSnapshotsInfoService(Settings settings, ClusterService clusterService, Supplier<RepositoriesService> repositoriesServiceSupplier, Supplier<RerouteService> rerouteServiceSupplier) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled when cluster state changes.
- 
Field Details- 
INTERNAL_SNAPSHOT_INFO_MAX_CONCURRENT_FETCHES_SETTING
 
- 
- 
Constructor Details- 
InternalSnapshotsInfoServicepublic InternalSnapshotsInfoService(Settings settings, ClusterService clusterService, Supplier<RepositoriesService> repositoriesServiceSupplier, Supplier<RerouteService> rerouteServiceSupplier) 
 
- 
- 
Method Details- 
snapshotShardSizes- Specified by:
- snapshotShardSizesin interface- SnapshotsInfoService
 
- 
clusterChangedDescription 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 interface- ClusterStateListener
 
 
-