|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.db.DbLsn
public class 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.
Field Summary | |
---|---|
protected boolean |
swigCMemOwn
|
Constructor Summary | |
---|---|
protected |
DbLsn()
|
|
DbLsn(int file,
int offset)
The DbLsn constructor constructs a DbLsn with the specified file and offset. |
protected |
DbLsn(long cPtr,
boolean cMemoryOwn)
|
Method Summary | |
---|---|
protected void |
finalize()
|
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() |
protected static long |
getCPtr(DbLsn obj)
|
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 |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean swigCMemOwn
Constructor Detail |
---|
protected DbLsn(long cPtr, boolean cMemoryOwn)
protected DbLsn()
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 |
---|
protected void finalize()
finalize
in class java.lang.Object
protected static long getCPtr(DbLsn obj)
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |