Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 3.3.82
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.
`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.
`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 long getNAborts()

  The number of transactions that have aborted.

### getNXAAborts

    public long getNXAAborts()

  The number of XA transactions that have aborted.

### getNXAPrepares

    public long getNXAPrepares()

  The number of XA transactions that have been prepared.

### getNActive

    public int getNActive()

  The number of transactions that are currently active.

### getNBegins

    public long getNBegins()

  The number of transactions that have begun.

### getNCommits

    public long getNCommits()

  The number of transactions that have committed.

### getNXACommits

    public long getNXACommits()

  The number of XA transactions that have committed.

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

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

Copyright (c) 2004,2008 Oracle. All rights reserved.