Class CompactStats

java.lang.Object
com.sleepycat.db.CompactStats

public class CompactStats extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    If no transaction parameter was specified to Database.compact, the number of deadlocks which occurred.
    int
    The number of empty hash buckets that were found the compaction phase.
    int
    The number of levels removed from the Btree or Recno database during the compaction phase.
    int
    The number of database pages reviewed during the compaction phase.
    int
    The number of database pages free during the compaction phase.
    int
    The number of database pages returned to the filesystem.
    For convenience, the CompactStats 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 Details

    • getEmptyBuckets

      public int getEmptyBuckets()
      The number of empty hash buckets that were found the compaction phase.
    • getPagesFree

      public int getPagesFree()
      The number of database pages free during the compaction phase.
    • getPagesExamine

      public int getPagesExamine()
      The number of database pages reviewed during the compaction phase.
    • getLevels

      public int getLevels()
      The number of levels removed from the Btree or Recno database during the compaction phase.
    • getDeadlock

      public int getDeadlock()
      If no transaction parameter was specified to Database.compact, the number of deadlocks which occurred.
    • getPagesTruncated

      public int getPagesTruncated()
      The number of database pages returned to the filesystem.
    • toString

      public String toString()
      For convenience, the CompactStats class has a toString method that lists all the data fields.
      Overrides:
      toString in class Object