public class CommitPoint
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommitPoint.FileInfo |
static class |
CommitPoint.Type |
Modifier and Type | Field and Description |
---|---|
static CommitPoint |
NULL |
Constructor and Description |
---|
CommitPoint(long version,
java.lang.String name,
CommitPoint.Type type,
java.util.List<CommitPoint.FileInfo> indexFiles,
java.util.List<CommitPoint.FileInfo> translogFiles) |
Modifier and Type | Method and Description |
---|---|
boolean |
containPhysicalIndexFile(java.lang.String physicalName) |
CommitPoint.FileInfo |
findNameFile(java.lang.String name) |
CommitPoint.FileInfo |
findNameIndexFile(java.lang.String name) |
CommitPoint.FileInfo |
findNameTranslogFile(java.lang.String name) |
CommitPoint.FileInfo |
findPhysicalIndexFile(java.lang.String physicalName) |
java.util.List<CommitPoint.FileInfo> |
indexFiles() |
java.lang.String |
name() |
java.util.List<CommitPoint.FileInfo> |
translogFiles() |
CommitPoint.Type |
type() |
long |
version() |
public static final CommitPoint NULL
public CommitPoint(long version, java.lang.String name, CommitPoint.Type type, java.util.List<CommitPoint.FileInfo> indexFiles, java.util.List<CommitPoint.FileInfo> translogFiles)
public long version()
public java.lang.String name()
public CommitPoint.Type type()
public java.util.List<CommitPoint.FileInfo> indexFiles()
public java.util.List<CommitPoint.FileInfo> translogFiles()
public boolean containPhysicalIndexFile(java.lang.String physicalName)
public CommitPoint.FileInfo findPhysicalIndexFile(java.lang.String physicalName)
public CommitPoint.FileInfo findNameFile(java.lang.String name)
public CommitPoint.FileInfo findNameIndexFile(java.lang.String name)
public CommitPoint.FileInfo findNameTranslogFile(java.lang.String name)