|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.DatabaseStats
com.sleepycat.je.BtreeStats
public class BtreeStats
The BtreeStats object is used to return Btree database statistics.
Constructor Summary | |
---|---|
BtreeStats()
|
Method Summary | |
---|---|
long[] |
getBINsByLevel()
Returns the count of Bottom Internal Nodes per level, indexed by level. |
long |
getBottomInternalNodeCount()
Returns the number of Bottom Internal Nodes in the database tree. |
long[] |
getDBINsByLevel()
Deprecated. as of 5.0, returns an empty array. |
long |
getDeletedLeafNodeCount()
Returns the number of deleted data records in the database tree that are pending removal by the compressor. |
long[] |
getDINsByLevel()
Deprecated. as of 5.0, returns an empty array. |
long |
getDupCountLeafNodeCount()
Deprecated. as of 5.0, returns zero. |
long |
getDuplicateBottomInternalNodeCount()
Deprecated. as of 5.0, returns zero. |
long |
getDuplicateInternalNodeCount()
Deprecated. as of 5.0, returns zero. |
int |
getDuplicateTreeMaxDepth()
Deprecated. as of 5.0, returns zero. |
long[] |
getINsByLevel()
Returns the count of Internal Nodes per level, indexed by level. |
long |
getInternalNodeCount()
Returns the number of Internal Nodes in the database tree. |
long |
getLeafNodeCount()
Returns the number of leaf nodes in the database tree, which can equal the number of records. |
int |
getMainTreeMaxDepth()
Returns the maximum depth of the main database tree. |
long |
getRelatches()
Returns the number of latch upgrades (relatches) required while operating on this database's BTree. |
int |
getRootSplits()
The number of times the root of the BTree was split. |
String |
toString()
For convenience, the BtreeStats class has a toString method that lists all the data fields. |
String |
toStringVerbose()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BtreeStats()
Method Detail |
---|
public long getBottomInternalNodeCount()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public long getDuplicateBottomInternalNodeCount()
public long getDeletedLeafNodeCount()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public long getDupCountLeafNodeCount()
public long getInternalNodeCount()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public long getDuplicateInternalNodeCount()
public long getLeafNodeCount()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public int getMainTreeMaxDepth()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public int getDuplicateTreeMaxDepth()
public long[] getINsByLevel()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public long[] getBINsByLevel()
The information is included only if the Database.getStats
call was not
configured by the StatsConfig.setFast
method.
public long[] getDINsByLevel()
public long[] getDBINsByLevel()
public long getRelatches()
public int getRootSplits()
public String toString()
toString
in class Object
public String toStringVerbose()
|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |