public class SCompactStats
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getDeadlock()
If no transaction parameter was specified to
SDatabase.compact(com.sleepycat.client.STransaction, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SCompactConfig) ,
the number of deadlocks which occurred. |
int |
getEmptyBuckets()
The number of empty hash buckets that were found during the compaction
phase.
|
int |
getLevels()
The number of levels removed from the Btree database during the
compaction phase.
|
int |
getPagesExamine()
The number of database pages reviewed during the compaction phase.
|
int |
getPagesFree()
The number of database pages freed during the compaction phase.
|
int |
getPagesTruncated()
The number of database pages returned to the filesystem.
|
java.lang.String |
toString()
For convenience, the SCompactStats class has a toString method that
lists all the data fields.
|
public int getEmptyBuckets()
public int getPagesFree()
public int getPagesExamine()
public int getLevels()
public int getDeadlock()
SDatabase.compact(com.sleepycat.client.STransaction, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SCompactConfig)
,
the number of deadlocks which occurred.public int getPagesTruncated()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.