public class FileListSnapshotInfo extends Object implements SnapshotInfo
| Constructor and Description |
|---|
FileListSnapshotInfo(List<FileInfo> files,
long term,
long index) |
| Modifier and Type | Method and Description |
|---|---|
List<FileInfo> |
getFiles()
Returns a list of files corresponding to this snapshot.
|
long |
getIndex()
Returns the index corresponding to this snapshot.
|
long |
getTerm()
Returns the term corresponding to this snapshot.
|
TermIndex |
getTermIndex()
Returns the term and index corresponding to this snapshot.
|
String |
toString() |
public TermIndex getTermIndex()
SnapshotInfogetTermIndex in interface SnapshotInfopublic long getTerm()
SnapshotInfogetTerm in interface SnapshotInfopublic long getIndex()
SnapshotInfogetIndex in interface SnapshotInfopublic List<FileInfo> getFiles()
SnapshotInfogetFiles in interface SnapshotInfoCopyright © 2017–2020 The Apache Software Foundation. All rights reserved.