public static class Database.Stats extends Object implements Cloneable, Serializable
statistics
.Modifier and Type | Field and Description |
---|---|
long |
cachedPages |
long |
cursorCount |
long |
freePages |
long |
lockCount |
int |
openIndexes |
int |
pageSize |
long |
totalPages |
long |
txnCount |
long |
txnsCreated |
Constructor and Description |
---|
Stats() |
Modifier and Type | Method and Description |
---|---|
long |
cachedPages()
Returns the current size of the cache, in pages.
|
Database.Stats |
clone() |
long |
cursorCount()
Returns the amount of cursors which are in a non-reset state.
|
boolean |
equals(Object obj) |
long |
freePages()
Returns the amount of unused pages in the database.
|
int |
hashCode() |
long |
lockCount()
Returns the amount of locks currently allocated.
|
int |
openIndexes()
Returns the amount of indexes currently open.
|
int |
pageSize()
Returns the allocation page size.
|
String |
toString() |
long |
totalPages()
Returns the total amount of pages in the database.
|
long |
transactionCount()
Returns the amount of fully-established transactions which are in a non-reset
state.
|
long |
transactionsCreated()
Returns the total amount of fully-established transactions created over the life of
the database.
|
public int pageSize
public long freePages
public long totalPages
public long cachedPages
public int openIndexes
public long lockCount
public long cursorCount
public long txnCount
public long txnsCreated
public int pageSize()
public long freePages()
public long totalPages()
public long cachedPages()
public int openIndexes()
public long lockCount()
public long cursorCount()
public long transactionCount()
public long transactionsCreated()
public Database.Stats clone()
Copyright © 2011–2017 Cojen. All rights reserved.