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)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • localCheckpoint

      public final long localCheckpoint
    • docCount

      public final int docCount
    • EMPTY

      public static final SafeCommitInfo EMPTY
  • Constructor Details

    • SafeCommitInfo

      public SafeCommitInfo​(long localCheckpoint, int docCount)