|
Berkeley DB version 4.5.20 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.DatabaseStats com.sleepycat.db.QueueStats
public class QueueStats
The QueueStats object is used to return Queue database statistics.
Method Summary | |
---|---|
int |
getCurRecno()
The next available record number. |
int |
getExtentSize()
The underlying database extent size, in pages. |
int |
getFirstRecno()
The first undeleted record in the database. |
int |
getMagic()
The magic number that identifies the file as a Queue file. |
int |
getMetaFlags()
The metadata flags. |
int |
getNumData()
The number of records in the database. |
int |
getNumKeys()
The number of records in the database. |
int |
getPages()
The number of pages in the database. |
int |
getPagesFree()
The number of bytes free in database pages. |
int |
getPageSize()
The underlying database page size, in bytes. |
int |
getReLen()
The length of the records. |
int |
getRePad()
The padding byte value for the records. |
int |
getVersion()
The version of the Queue database. |
String |
toString()
For convenience, the QueueStats class has a toString method that lists all the data fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getMagic()
public int getVersion()
public int getMetaFlags()
public int getNumKeys()
If the Database.getStats
call was configured by the
StatsConfig.setFast
method, the count will be the last
saved value unless it has never been calculated, in which case it
will be 0.
public int getNumData()
If the Database.getStats
call was configured by the
StatsConfig.setFast
method, the count will be the last
saved value unless it has never been calculated, in which case it
will be 0.
public int getPageSize()
public int getExtentSize()
public int getPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getReLen()
public int getRePad()
public int getPagesFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getFirstRecno()
public int getCurRecno()
public String toString()
toString
in class Object
|
Berkeley DB version 4.5.20 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |