Package org.elasticsearch.index.engine
Class SafeCommitInfo
- java.lang.Object
-
- org.elasticsearch.index.engine.SafeCommitInfo
-
public class SafeCommitInfo extends java.lang.Object
Information about the safe commit, for making decisions about recoveries.
-
-
Field Summary
Fields Modifier and Type Field Description int
docCount
static SafeCommitInfo
EMPTY
long
localCheckpoint
-
Constructor Summary
Constructors Constructor Description SafeCommitInfo(long localCheckpoint, int docCount)
-
-
-
Field Detail
-
localCheckpoint
public final long localCheckpoint
-
docCount
public final int docCount
-
EMPTY
public static final SafeCommitInfo EMPTY
-
-