|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.TransactionStats
public class TransactionStats
Transaction statistics for a database environment.
Nested Class Summary | |
---|---|
static class |
TransactionStats.Active
The Active class represents an active transaction. |
Constructor Summary | |
---|---|
TransactionStats()
|
Method Summary | |
---|---|
TransactionStats.Active[] |
getActiveTxns()
Return the array of active transactions. |
long |
getLastCheckpointTime()
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). |
long |
getLastTxnId()
The last transaction ID allocated. |
long |
getNAborts()
The number of transactions that have aborted. |
int |
getNActive()
The number of transactions that are currently active. |
long |
getNBegins()
The number of transactions that have begun. |
long |
getNCommits()
The number of transactions that have committed. |
long |
getNXAAborts()
The number of XA transactions that have aborted. |
long |
getNXACommits()
The number of XA transactions that have committed. |
long |
getNXAPrepares()
The number of XA transactions that have been prepared. |
void |
setActiveTxns(TransactionStats.Active[] actives)
|
void |
setLastCheckpointTime(long l)
|
void |
setLastTxnId(long val)
|
void |
setNAborts(long val)
|
void |
setNActive(int val)
|
void |
setNBegins(long val)
|
void |
setNCommits(long val)
|
void |
setNXAAborts(long val)
|
void |
setNXACommits(long val)
|
void |
setNXAPrepares(long val)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionStats()
Method Detail |
---|
public TransactionStats.Active[] getActiveTxns()
public long getLastCheckpointTime()
public long getLastTxnId()
public long getNAborts()
public long getNXAAborts()
public long getNXAPrepares()
public int getNActive()
public long getNBegins()
public long getNCommits()
public long getNXACommits()
public void setActiveTxns(TransactionStats.Active[] actives)
public void setLastCheckpointTime(long l)
public void setLastTxnId(long val)
public void setNAborts(long val)
public void setNXAAborts(long val)
public void setNActive(int val)
public void setNBegins(long val)
public void setNCommits(long val)
public void setNXACommits(long val)
public void setNXAPrepares(long val)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |