Berkeley DB
version 5.2.36

com.sleepycat.db
Class TransactionStats.Active

java.lang.Object
  extended by com.sleepycat.db.TransactionStats.Active
Enclosing class:
TransactionStats

public static class TransactionStats.Active
extends Object


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

getTxnId

public int getTxnId()
The transaction ID of the transaction.


getParentId

public int getParentId()
The transaction ID of the parent transaction (or 0, if no parent).


getPid

public int getPid()
The process ID of the process that owns the transaction.


getLsn

public LogSequenceNumber getLsn()
The log sequence number of the transaction's first log record.


getReadLsn

public LogSequenceNumber getReadLsn()
The log sequence number of reads for snapshot transactions.


getMultiversionRef

public int getMultiversionRef()
The number of buffer copies created by this transaction that remain in cache.


getPriority

public int getPriority()
Assigned priority used when resolving deadlocks.


getStatus

public int getStatus()
Provides one of the following constants, which indicate the status of the transaction:

TXN_ABORTED, TXN_COMMITTED, TXN_NEED_ABORT, TXN_PREPARED, or TXN_RUNNING.


getXaStatus

public int getXaStatus()
Provides one of the following constants, which indicate the XA status:

TXN_XA_ACTIVE, TXN_XA_DEADLOCKED, TXN_XA_IDLE, TXN_XA_PREPARED, or TXN_XA_ROLLEDBACK.


getGId

public byte[] getGId()
Return the transaction's Global ID, if the transaction was prepared using Transaction.prepare(byte[]). Otherwise, return an undefined value.


getName

public String getName()
The transaction name, including the thread name if available.


toString

public String toString()

Overrides:
toString in class Object

Berkeley DB
version 5.2.36

Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.