Class ShardRecoveryPlan.SnapshotFilesToRecover
java.lang.Object
org.elasticsearch.indices.recovery.plan.ShardRecoveryPlan.SnapshotFilesToRecover
- All Implemented Interfaces:
Iterable<BlobStoreIndexShardSnapshot.FileInfo>
- Enclosing class:
- ShardRecoveryPlan
public static class ShardRecoveryPlan.SnapshotFilesToRecover
extends Object
implements Iterable<BlobStoreIndexShardSnapshot.FileInfo>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSnapshotFilesToRecover
(IndexId indexId, String repository, List<BlobStoreIndexShardSnapshot.FileInfo> snapshotFiles) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
EMPTY
-
-
Constructor Details
-
SnapshotFilesToRecover
public SnapshotFilesToRecover(IndexId indexId, String repository, List<BlobStoreIndexShardSnapshot.FileInfo> snapshotFiles)
-
-
Method Details
-
getIndexId
-
getRepository
-
size
public int size() -
isEmpty
public boolean isEmpty() -
getSnapshotFiles
-
iterator
- Specified by:
iterator
in interfaceIterable<BlobStoreIndexShardSnapshot.FileInfo>
-