Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 3.2.76
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sleepycat.je
Class TransactionStats

    java.lang.Object
      com.sleepycat.je.TransactionStats

All Implemented Interfaces:
  Serializable

    public class TransactionStats

extends Object
implements Serializable

Transaction statistics for a database environment.

See Also:
  Serialized Form

Nested Class Summary
`static class` | `TransactionStats.Active` The Active class represents an active transaction.

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.
`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.
`int` | `getNXAAborts()` The number of XA transactions that have aborted.
`int` | `getNXACommits()` The number of XA transactions that have committed.
`int` | `getNXAPrepares()` The number of XA transactions that have been prepared.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### getActiveTxns

    public TransactionStats.Active[] getActiveTxns()

  Return the array of active transactions.

  Returns:
    The array of active transactions.

### 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.

### getNXAAborts

    public int getNXAAborts()

  The number of XA 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.

### getNXACommits

    public int getNXACommits()

  The number of XA transactions that have committed.

### getNXAPrepares

    public int getNXAPrepares()

  The number of XA transactions that have been prepared.

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 3.2.76
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1996,2008 Oracle. All rights reserved.