Berkeley DB Java Edition
version 1.5.1

com.sleepycat.je
Class TransactionStats

java.lang.Object
  |
  +--com.sleepycat.je.TransactionStats

public class TransactionStats
extends Object

Transaction statistics for a single environment.


Nested Class Summary
 class TransactionStats.Active
          The Active class represents an active transaction.
 
Method Summary
 TransactionStats.Active[] getActiveTxns()
          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.
 int getNAborts()
          The number of transactions that have aborted.
 int getNActive()
          The number of transactions that are currently active.
 int getNBegins()
          The number of transactions that have begun.
 int getNCommits()
          The number of transactions that have committed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getActiveTxns

public TransactionStats.Active[] getActiveTxns()
The array of active transactions. Each element of the array is an object of type Transaction.Active.


getLastCheckpointTime

public 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).


getLastTxnId

public long getLastTxnId()
The last transaction ID allocated.


getNAborts

public int getNAborts()
The number of transactions that have aborted.


getNActive

public int getNActive()
The number of transactions that are currently active.


getNBegins

public int getNBegins()
The number of transactions that have begun.


getNCommits

public int getNCommits()
The number of transactions that have committed.


Berkeley DB Java Edition
version 1.5.1

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.