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

## com.sleepycat.je
Class SequenceStats

    java.lang.Object
      com.sleepycat.je.SequenceStats

    public class SequenceStats

extends Object

A SequenceStats object is used to return sequence statistics.

Method Summary
`int` | `getCacheSize()` Returns the number of values that will be cached in this handle.
`long` | `getCurrent()` Returns the current value of the sequence in the database.
`long` | `getLastValue()` Returns the last cached value of the sequence.
`long` | `getMax()` Returns the maximum permitted value of the sequence.
`long` | `getMin()` Returns the minimum permitted value of the sequence.
`int` | `getNCachedGets()` Returns the number of times that Sequence.get was called and a cached value was returned.
`int` | `getNGets()` Returns the number of times that Sequence.get was called successfully.
`long` | `getValue()` Returns the current cached value of the sequence.
`String` | `toString()`

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

Method Detail

### getNGets

    public int getNGets()

  Returns the number of times that Sequence.get was called successfully.

  Returns:
    number of times that Sequence.get was called successfully.

### getNCachedGets

    public int getNCachedGets()

  Returns the number of times that Sequence.get was called and a cached value was returned.

  Returns:
    number of times that Sequence.get was called and a cached value was returned.

### getCurrent

    public long getCurrent()

  Returns the current value of the sequence in the database.

  Returns:
    current value of the sequence in the database.

### getValue

    public long getValue()

  Returns the current cached value of the sequence.

  Returns:
    current cached value of the sequence.

### getLastValue

    public long getLastValue()

  Returns the last cached value of the sequence.

  Returns:
    last cached value of the sequence.

### getMin

    public long getMin()

  Returns the minimum permitted value of the sequence.

  Returns:
    minimum permitted value of the sequence.

### getMax

    public long getMax()

  Returns the maximum permitted value of the sequence.

  Returns:
    maximum permitted value of the sequence.

### getCacheSize

    public int getCacheSize()

  Returns the number of values that will be cached in this handle.

  Returns:
    number of values that will be cached in this handle.

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

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

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