public class DbLsn
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
MAX_FILE_OFFSET |
static long |
NULL_LSN |
Modifier and Type | Method and Description |
---|---|
static int |
compareTo(long lsn1,
long lsn2) |
static java.lang.String |
dumpString(long lsn,
int nSpaces) |
static long |
getFileNumber(long lsn)
Return the file number for this DbLsn.
|
static long |
getFileOffset(long lsn)
Return the file offset for this DbLsn.
|
static long |
getNoCleaningDistance(long thisLsn,
long otherLsn,
long logFileSize)
Return the logsize in bytes between these two LSNs.
|
static java.lang.String |
getNoFormatString(long lsn) |
static long |
getWithCleaningDistance(long thisLsn,
FileManager fileManager,
long otherLsn,
long logFileSize)
Return the logsize in bytes between these two LSNs.
|
static long |
longToLsn(java.lang.Long lsn) |
static long |
makeLsn(long fileNumber,
long fileOffset) |
static java.lang.String |
toString(long lsn) |
public static final long MAX_FILE_OFFSET
public static final long NULL_LSN
public static long makeLsn(long fileNumber, long fileOffset)
public static long longToLsn(java.lang.Long lsn)
public static long getFileNumber(long lsn)
public static long getFileOffset(long lsn)
public static int compareTo(long lsn1, long lsn2)
public static java.lang.String toString(long lsn)
public static java.lang.String getNoFormatString(long lsn)
public static java.lang.String dumpString(long lsn, int nSpaces)
public static long getNoCleaningDistance(long thisLsn, long otherLsn, long logFileSize)
public static long getWithCleaningDistance(long thisLsn, FileManager fileManager, long otherLsn, long logFileSize)