public class SQueueStats extends java.lang.Object implements SDatabaseStats
Modifier and Type | Method and Description |
---|---|
int |
getCurRecno()
The next available record number.
|
int |
getExtentSize()
The underlying database extent size, in pages.
|
int |
getFirstRecno()
The first undeleted record in the database.
|
int |
getMagic()
The magic number that identifies the file as a Queue file.
|
int |
getNumData()
The number of records in the database.
|
int |
getNumKeys()
The number of records in the database.
|
int |
getPages()
The number of pages in the database.
|
int |
getPagesFree()
The number of bytes free in database pages.
|
int |
getPageSize()
The underlying database page size, in bytes.
|
int |
getReLen()
The length of the records.
|
int |
getRePad()
The padding byte value for the records.
|
int |
getVersion()
The version of the Queue database.
|
java.lang.String |
toString()
For convenience, the SQueueStats class has a toString method
that lists all the data fields.
|
public int getCurRecno()
public int getExtentSize()
public int getFirstRecno()
public int getMagic()
public int getNumData()
If the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call was configured by the SStatsConfig.setFast(boolean)
method, the count will be the last saved value
unless it has never been calculated, in which case it will be 0.
public int getNumKeys()
If the SDatabase.getStats(com.sleepycat.client.STransaction, com.sleepycat.client.SStatsConfig)
call was configured by the SStatsConfig.setFast(boolean)
method, the count will be the last saved value
unless it has never been calculated, in which case it will be 0.
public int getPages()
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 getPagesFree()
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 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.