Package com.sleepycat.db
Class HeapStats
java.lang.Object
com.sleepycat.db.DatabaseStats
com.sleepycat.db.HeapStats
The HeapStats object is used to return Heap database statistics.
-
Method Summary
Modifier and TypeMethodDescriptionintMagic number that identifies the file as a Heap file.intReports internal flags.intReports the number of records in the Heap database.intThe number of regions in the Heap database.intThe number of pages in the database.intThe underlying database page (and bucket) size, in bytes.intTODOintThe version of the Heap database.toString()For convenience, the HeapStats class has a toString method that lists all the data fields.
-
Method Details
-
getHeapMagic
public int getHeapMagic()Magic number that identifies the file as a Heap file. -
getHeapVersion
public int getHeapVersion()The version of the Heap database. -
getHeapMetaFlags
public int getHeapMetaFlags()Reports internal flags. For internal use only. -
getHeapNumRecs
public int getHeapNumRecs()Reports the number of records in the Heap database. -
getHeapPageCount
public int getHeapPageCount()The number of pages in the database. -
getHeapPageSize
public int getHeapPageSize()The underlying database page (and bucket) size, in bytes. -
getHeapNumRegions
public int getHeapNumRegions()The number of regions in the Heap database. -
getHeapRegionSize
public int getHeapRegionSize()TODO -
toString
For convenience, the HeapStats class has a toString method that lists all the data fields.
-