Class UpdateLog.LogPtr

  • Enclosing class:
    UpdateLog

    public static class UpdateLog.LogPtr
    extends Object
    • Constructor Detail

      • 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