org.elasticsearch.index.gateway
Class CommitPoint

java.lang.Object
  extended by org.elasticsearch.index.gateway.CommitPoint

public class CommitPoint
extends java.lang.Object


Nested Class Summary
static class CommitPoint.FileInfo
           
static class CommitPoint.Type
           
 
Field Summary
static CommitPoint NULL
           
 
Constructor Summary
CommitPoint(long version, java.lang.String name, CommitPoint.Type type, java.util.List<CommitPoint.FileInfo> indexFiles, java.util.List<CommitPoint.FileInfo> translogFiles)
           
 
Method Summary
 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)
           
 org.elasticsearch.common.collect.ImmutableList<CommitPoint.FileInfo> indexFiles()
           
 java.lang.String name()
           
 org.elasticsearch.common.collect.ImmutableList<CommitPoint.FileInfo> translogFiles()
           
 CommitPoint.Type type()
           
 long version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final CommitPoint NULL
Constructor Detail

CommitPoint

public CommitPoint(long version,
                   java.lang.String name,
                   CommitPoint.Type type,
                   java.util.List<CommitPoint.FileInfo> indexFiles,
                   java.util.List<CommitPoint.FileInfo> translogFiles)
Method Detail

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)