public class QueueStats extends DatabaseStats
Modifier and Type | Method | 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 |
getMetaFlags() |
Reports internal flags.
|
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 QueueStats class has a toString method
that lists all the data fields.
|
public int getMagic()
public int getVersion()
public int getMetaFlags()
public int getNumKeys()
If the Database.getStats
call was configured by the
StatsConfig.setFast
method, the count will be the last
saved value unless it has never been calculated, in which case it
will be 0.
public int getNumData()
If the Database.getStats
call was configured by the
StatsConfig.setFast
method, the count will be the last
saved value unless it has never been calculated, in which case it
will be 0.
public int getPageSize()
public int getExtentSize()
public int getPages()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getReLen()
public int getRePad()
public int getPagesFree()
The information is only included if the Database.getStats
call
was not configured by the StatsConfig.setFast
method.
public int getFirstRecno()
public int getCurRecno()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.