org.elasticsearch.index.gateway
Class CommitPoint
java.lang.Object
org.elasticsearch.index.gateway.CommitPoint
public class CommitPoint
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
public static final CommitPoint NULL
CommitPoint
public CommitPoint(long version,
java.lang.String name,
CommitPoint.Type type,
java.util.List<CommitPoint.FileInfo> indexFiles,
java.util.List<CommitPoint.FileInfo> translogFiles)
version
public long version()
name
public java.lang.String name()
type
public CommitPoint.Type type()
indexFiles
public org.elasticsearch.common.collect.ImmutableList<CommitPoint.FileInfo> indexFiles()
translogFiles
public org.elasticsearch.common.collect.ImmutableList<CommitPoint.FileInfo> translogFiles()
containPhysicalIndexFile
public boolean containPhysicalIndexFile(java.lang.String physicalName)
findPhysicalIndexFile
public CommitPoint.FileInfo findPhysicalIndexFile(java.lang.String physicalName)
findNameFile
public CommitPoint.FileInfo findNameFile(java.lang.String name)
findNameIndexFile
public CommitPoint.FileInfo findNameIndexFile(java.lang.String name)
findNameTranslogFile
public CommitPoint.FileInfo findNameTranslogFile(java.lang.String name)