public class SnapshotIndexCommit extends IndexCommitDelegate implements Releasable
close()
was not called, no files will be deleted that relates to this commit point
(IndexCommitDelegate.getFileNames()).delegate| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the current snapshot.
|
void |
delete()
Override the delete operation, and only actually delete it if it
is not held by the
SnapshotDeletionPolicy. |
String[] |
getFiles() |
equals, getDirectory, getFileNames, getGeneration, getSegmentCount, getSegmentsFileName, getUserData, hashCode, isDeletedpublic String[] getFiles()
public void close()
close in interface AutoCloseableclose in interface Releasablepublic void delete()
SnapshotDeletionPolicy.delete in class IndexCommitDelegateCopyright © 2009–2017. All rights reserved.