Package org.apache.solr.update
Class UpdateLog.LogPtr
java.lang.Object
org.apache.solr.update.UpdateLog.LogPtr
- Enclosing class:
UpdateLog
-
Constructor Summary
Constructors -
Method Summary
-
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 updateversion- 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 updateversion- Version of the update at the given positionpreviousPointer- Position, in the transaction log, of an update on which the current update depends
-
-
Method Details