|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.SequenceStats
public class SequenceStats
A SequenceStats object is used to return sequence statistics.
| Constructor Summary | |
|---|---|
SequenceStats(int nGets,
int nCachedGets,
long current,
long value,
long lastValue,
long min,
long max,
int cacheSize)
|
|
| 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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
SequenceStats(int nGets,
int nCachedGets,
long current,
long value,
long lastValue,
long min,
long max,
int cacheSize)
| Method Detail |
|---|
public int getNGets()
public int getNCachedGets()
public long getCurrent()
public long getValue()
public long getLastValue()
public long getMin()
public long getMax()
public int getCacheSize()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||