Berkeley DB
version 5.3.28

com.sleepycat.db
Class HeapStats

java.lang.Object
  extended by com.sleepycat.db.DatabaseStats
      extended by com.sleepycat.db.HeapStats

public class HeapStats
extends DatabaseStats

The HeapStats object is used to return Heap database statistics.


Method Summary
 int getHeapMagic()
          Magic number that identifies the file as a Heap file.
 int getHeapMetaFlags()
          Reports internal flags.
 int getHeapNumRecs()
          Reports the number of records in the Heap database.
 int getHeapNumRegions()
          The number of regions in the Heap database.
 int getHeapPageCount()
          The number of pages in the database.
 int getHeapPageSize()
          The underlying database page (and bucket) size, in bytes.
 int getHeapRegionSize()
          TODO
 int getHeapVersion()
          The version of the Heap database.
 String toString()
          For convenience, the HeapStats 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

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

public String toString()
For convenience, the HeapStats class has a toString method that lists all the data fields.

Overrides:
toString in class Object

Berkeley DB
version 5.3.28

Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.