Package org.elasticsearch.snapshots
Class InternalSnapshotsInfoService
java.lang.Object
org.elasticsearch.snapshots.InternalSnapshotsInfoService
- All Implemented Interfaces:
ClusterStateListener
,SnapshotsInfoService
public class InternalSnapshotsInfoService extends java.lang.Object implements ClusterStateListener, SnapshotsInfoService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalSnapshotsInfoService.SnapshotShard
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.Integer>
INTERNAL_SNAPSHOT_INFO_MAX_CONCURRENT_FETCHES_SETTING
-
Constructor Summary
Constructors Constructor Description InternalSnapshotsInfoService(Settings settings, ClusterService clusterService, java.util.function.Supplier<RepositoriesService> repositoriesServiceSupplier, java.util.function.Supplier<RerouteService> rerouteServiceSupplier)
-
Method Summary
Modifier and Type Method Description void
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.SnapshotShardSizeInfo
snapshotShardSizes()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INTERNAL_SNAPSHOT_INFO_MAX_CONCURRENT_FETCHES_SETTING
public static final Setting<java.lang.Integer> INTERNAL_SNAPSHOT_INFO_MAX_CONCURRENT_FETCHES_SETTING
-
-
Constructor Details
-
InternalSnapshotsInfoService
public InternalSnapshotsInfoService(Settings settings, ClusterService clusterService, java.util.function.Supplier<RepositoriesService> repositoriesServiceSupplier, java.util.function.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
-