|
Berkeley DB version 4.2.52 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.sleepycat.db.DbLsn
The DbLsn object is a log sequence number which specifies a unique location in a log file. A DbLsn consists of two unsigned 32-bit integers -- one specifies the log file number, and the other specifies an offset in the log file.
| Constructor Summary | |
DbLsn(int file,
int offset)
The DbLsn constructor constructs a DbLsn with the specified file and offset. |
|
| Method Summary | |
int |
get_file()
Deprecated. As of Berkeley DB 4.2, replaced by getFile() |
int |
get_offset()
Deprecated. As of Berkeley DB 4.2, replaced by getOffset() |
int |
getFile()
The DbLsn.getFile method returns the DbLsn object's file number. |
int |
getOffset()
The DbLsn.getOffset method returns the DbLsn object's file number. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DbLsn(int file,
int offset)
throws DbException
file - the log file number.offset - the log file offset.
DbException - Signals that an exception of some sort has occurred.| Method Detail |
public int get_file()
throws DbException
getFile()
DbException
public int getFile()
throws DbException
DbException - Signals that an exception of some sort has occurred.
public int get_offset()
throws DbException
getOffset()
DbException
public int getOffset()
throws DbException
DbException - Signals that an exception of some sort has occurred.
|
Berkeley DB version 4.2.52 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||