|
Berkeley DB version 5.2.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.TransactionStats.Active
public static class TransactionStats.Active
Method Summary | |
---|---|
byte[] |
getGId()
Return the transaction's Global ID, if the transaction was prepared using Transaction.prepare(byte[]) . |
LogSequenceNumber |
getLsn()
The log sequence number of the transaction's first log record. |
int |
getMultiversionRef()
The number of buffer copies created by this transaction that remain in cache. |
String |
getName()
The transaction name, including the thread name if available. |
int |
getParentId()
The transaction ID of the parent transaction (or 0, if no parent). |
int |
getPid()
The process ID of the process that owns the transaction. |
int |
getPriority()
Assigned priority used when resolving deadlocks. |
LogSequenceNumber |
getReadLsn()
The log sequence number of reads for snapshot transactions. |
int |
getStatus()
Provides one of the following constants, which indicate the status of the transaction: |
int |
getTxnId()
The transaction ID of the transaction. |
int |
getXaStatus()
Provides one of the following constants, which indicate the XA status: |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getTxnId()
public int getParentId()
public int getPid()
public LogSequenceNumber getLsn()
public LogSequenceNumber getReadLsn()
public int getMultiversionRef()
public int getPriority()
public int getStatus()
TXN_ABORTED, TXN_COMMITTED, TXN_NEED_ABORT, TXN_PREPARED, or TXN_RUNNING.
public int getXaStatus()
TXN_XA_ACTIVE, TXN_XA_DEADLOCKED, TXN_XA_IDLE, TXN_XA_PREPARED, or TXN_XA_ROLLEDBACK.
public byte[] getGId()
Transaction.prepare(byte[])
. Otherwise, return an undefined value.
public String getName()
public String toString()
toString
in class Object
|
Berkeley DB version 5.2.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |