public class SBtreeStats extends java.lang.Object implements SDatabaseStats
Modifier and Type | Method and Description |
---|---|
int |
getDupPages()
The number of database duplicate pages.
|
long |
getDupPagesFree()
The number of bytes free in database duplicate pages.
|
int |
getEmptyPages()
The number of empty database pages.
|
int |
getExtFiles()
The number of external files.
|
int |
getFree()
The number of pages on the free list.
|
int |
getIntPages()
The number of database internal pages.
|
long |
getIntPagesFree()
The number of bytes free in database internal pages.
|
int |
getLeafPages()
The number of database leaf pages.
|
long |
getLeafPagesFree()
The number of bytes free in database leaf pages.
|
int |
getLevels()
The number of levels in the database.
|
int |
getMagic()
The magic number that identifies the file as a Btree database.
|
int |
getMinKey()
The minimum keys per page.
|
int |
getNumData()
The number of key/data pairs in the database.
|
int |
getNumKeys()
The number of keys in the database.
|
int |
getOverPages()
The number of database overflow pages.
|
long |
getOverPagesFree()
The number of bytes free in database overflow pages.
|
int |
getPageCount()
The number of pages in the database.
|
int |
getPageSize()
The underlying database page size, in bytes.
|
int |
getReLen()
The length of fixed-length records.
|
int |
getRePad()
The padding byte value for fixed-length records.
|
int |
getVersion()
The version of the Btree database.
|
java.lang.String |
toString()
For convenience, the SBtreeStats class has a toString method
that lists all the data fields.
|
public int getDupPages()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public long getDupPagesFree()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getEmptyPages()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getFree()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getIntPages()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public long getIntPagesFree()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getLeafPages()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public long getLeafPagesFree()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getLevels()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getMagic()
public int getMinKey()
public int getExtFiles()
public int getNumData()
For the Btree Access Method, the number of key/data pairs in the
database. If the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call was not configured by
the SStatsConfig.setFast(boolean)
method, the count will be exact.
Otherwise, the count will be the last saved value unless it has never
been calculated, in which case it will be 0.
public int getNumKeys()
For the Btree Access Method, the number of keys in the database. If the
SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call was not configured by the SStatsConfig.setFast(boolean)
method or the database was configured to support
retrieval by record number, the count will be exact. Otherwise, the
count will be the last saved value unless it has never been calculated,
in which case it will be 0.
public int getOverPages()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public long getOverPagesFree()
The information is only included if the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call
was not configured by the SStatsConfig.setFast(boolean)
method.
public int getPageCount()
public int getPageSize()
public int getReLen()
public int getRePad()
public int getVersion()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.