Class UpdateLog.LogPtr

java.lang.Object
org.apache.solr.update.UpdateLog.LogPtr
Enclosing class:
UpdateLog

public static class UpdateLog.LogPtr extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogPtr(long pointer, long version)
    Creates an object that contains the position and version of an update.
    LogPtr(long pointer, long version, long previousPointer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LogPtr

      public LogPtr(long pointer, long version)
      Creates an object that contains the position and version of an update. In this constructor, the effective value of the previousPointer is -1.
      Parameters:
      pointer - Position in the transaction log of an update
      version - Version of the update at the given position
    • LogPtr

      public LogPtr(long pointer, long version, long previousPointer)
      Parameters:
      pointer - Position in the transaction log of an update
      version - Version of the update at the given position
      previousPointer - Position, in the transaction log, of an update on which the current update depends
  • Method Details