org.elasticsearch.index.gateway
Class CommitPoints
java.lang.Object
org.elasticsearch.index.gateway.CommitPoints
- All Implemented Interfaces:
- Iterable<CommitPoint>
public class CommitPoints
- extends Object
- implements Iterable<CommitPoint>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommitPoints
public CommitPoints(List<CommitPoint> commitPoints)
commits
public com.google.common.collect.ImmutableList<CommitPoint> commits()
hasVersion
public boolean hasVersion(long version)
findPhysicalIndexFile
public CommitPoint.FileInfo findPhysicalIndexFile(String physicalName)
findNameFile
public CommitPoint.FileInfo findNameFile(String name)
iterator
public Iterator<CommitPoint> iterator()
- Specified by:
iterator
in interface Iterable<CommitPoint>
toXContent
public static byte[] toXContent(CommitPoint commitPoint)
throws Exception
- Throws:
Exception
fromXContent
public static CommitPoint fromXContent(byte[] data)
throws Exception
- Throws:
Exception
Copyright © 2009-2012. All Rights Reserved.