Package org.elasticsearch.snapshots
Class SnapshotShardSizeInfo
java.lang.Object
org.elasticsearch.snapshots.SnapshotShardSizeInfo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSnapshotShardSizeInfo(ImmutableOpenMap<InternalSnapshotsInfoService.SnapshotShard,Long> snapshotShardSizes)
-
Method Summary
Modifier and TypeMethodDescriptiongetShardSize(ShardRouting shardRouting)
long
getShardSize(ShardRouting shardRouting, long fallback)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
SnapshotShardSizeInfo
public SnapshotShardSizeInfo(ImmutableOpenMap<InternalSnapshotsInfoService.SnapshotShard,Long> snapshotShardSizes)
-
-
Method Details
-
getShardSize
-
getShardSize
-