|
Berkeley DB version 4.5.20 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.TransactionStats
public class TransactionStats
Transaction statistics for a database environment.
Nested Class Summary | |
---|---|
static class |
TransactionStats.Active
The Active class represents an active transaction. |
Method Summary | |
---|---|
LogSequenceNumber |
getLastCkp()
The LSN of the last checkpoint. |
int |
getLastTxnId()
The last transaction ID allocated. |
int |
getMaxNactive()
The maximum number of active transactions at any one time. |
int |
getMaxNsnapshot()
The maximum number of transactions on the snapshot list at any one time. |
int |
getMaxTxns()
The maximum number of active transactions configured. |
int |
getNaborts()
The number of transactions that have aborted. |
int |
getNactive()
The number of transactions that are currently active. |
int |
getNumBegins()
The number of transactions that have begun. |
int |
getNumCommits()
The number of transactions that have committed. |
int |
getNumRestores()
The number of transactions that have been restored. |
int |
getNumSnapshot()
The number of transactions on the snapshot list. |
int |
getRegionNowait()
The number of times that a thread of control was able to obtain the region lock without waiting. |
int |
getRegionWait()
The number of times that a thread of control was forced to wait before obtaining the region lock. |
int |
getRegSize()
The size of the region. |
long |
getTimeCkp()
The time the last completed checkpoint finished (as the number of seconds since the Epoch, returned by the IEEE/ANSI Std 1003.1 (POSIX) time interface). |
TransactionStats.Active[] |
getTxnarray()
The array of active transactions. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public LogSequenceNumber getLastCkp()
public long getTimeCkp()
public int getLastTxnId()
public int getMaxTxns()
public int getNaborts()
public int getNumBegins()
public int getNumCommits()
public int getNactive()
public int getNumSnapshot()
DatabaseConfig.setMultiversion(boolean)
,
and which have committed or aborted, but the copies of pages they
created are still in the cache.
public int getNumRestores()
public int getMaxNactive()
public int getMaxNsnapshot()
public int getRegionWait()
public int getRegionNowait()
public int getRegSize()
public TransactionStats.Active[] getTxnarray()
public String toString()
toString
in class Object
|
Berkeley DB version 4.5.20 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |