|
Berkeley DB version 4.3.29 |
||||||||||
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.HashStats
The HashStats object is used to return Hash database statistics.
Method Summary | |
int |
getBFree()
The number of bytes free on bucket pages. |
int |
getBigBFree()
The number of bytes free on big item pages. |
int |
getBigPages()
The number of big key/data pages. |
int |
getBuckets()
The the number of hash buckets. |
int |
getDup()
The number of duplicate pages. |
int |
getDupFree()
The number of bytes free on duplicate pages. |
int |
getFfactor()
The desired fill factor specified at database-creation time. |
int |
getFree()
The number of pages on the free list. |
int |
getMagic()
The magic number that identifies the file as a Hash file. |
int |
getMetaFlags()
The metadata flags. |
int |
getNumData()
The number of key/data pairs in the database. |
int |
getNumKeys()
The number of unique keys in the database. |
int |
getOverflows()
The number of overflow pages. |
int |
getOvflFree()
The number of bytes free on overflow pages. |
int |
getPageSize()
The underlying Hash database page (and bucket) size, in bytes. |
int |
getVersion()
The version of the Hash database. |
String |
toString()
For convenience, the HashStats class has a toString method that lists all the data fields. |
Methods inherited from class java.lang.Object |
equals, 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 getFfactor()
public int getBuckets()
public int getFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getBFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getBigPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getBigBFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getOverflows()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getOvflFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getDup()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getDupFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public String toString()
|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |