Package org.opensearch.snapshots
Class InternalSnapshotsInfoService
java.lang.Object
org.opensearch.snapshots.InternalSnapshotsInfoService
- All Implemented Interfaces:
ClusterStateListener
,SnapshotsInfoService
public class InternalSnapshotsInfoService
extends Object
implements ClusterStateListener, SnapshotsInfoService
Information service for snapshots
- Opensearch.internal:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A snapshot of a shard -
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionInternalSnapshotsInfoService
(Settings settings, ClusterService clusterService, Supplier<RepositoriesService> repositoriesServiceSupplier, Supplier<RerouteService> rerouteServiceSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when cluster state changes.
-
Field Details
-
INTERNAL_SNAPSHOT_INFO_MAX_CONCURRENT_FETCHES_SETTING
-
-
Constructor Details
-
InternalSnapshotsInfoService
public InternalSnapshotsInfoService(Settings settings, ClusterService clusterService, Supplier<RepositoriesService> repositoriesServiceSupplier, Supplier<RerouteService> rerouteServiceSupplier)
-
-
Method Details
-
snapshotShardSizes
- Specified by:
snapshotShardSizes
in interfaceSnapshotsInfoService
-
clusterChanged
Description copied from interface:ClusterStateListener
Called when cluster state changes.- Specified by:
clusterChanged
in interfaceClusterStateListener
-