Lines Matching defs:LogSequenceNumber
6 * $Id: LogSequenceNumber.java,v 12.7 2008/01/17 05:04:53 mjc Exp $
14 The LogSequenceNumber object is a <em>log sequence number</em> which
15 specifies a unique location in a log file. A LogSequenceNumber consists
19 public class LogSequenceNumber {
24 Construct a LogSequenceNumber with the specified file and offset.
32 public LogSequenceNumber(final int file, final int offset) {
38 Construct an uninitialized LogSequenceNumber.
40 public LogSequenceNumber() {
45 Return the file number component of the LogSequenceNumber.
48 The file number component of the LogSequenceNumber.
55 Return the file offset component of the LogSequenceNumber.
58 The file offset component of the LogSequenceNumber.
65 Compare two LogSequenceNumber objects.
67 This method returns 0 if the two LogSequenceNumber objects are
72 The first LogSequenceNumber object to be compared.
75 The second LogSequenceNumber object to be compared.
78 0 if the two LogSequenceNumber objects are equal, 1 if lsn1 is
81 public static int compare(LogSequenceNumber lsn1, LogSequenceNumber lsn2) {