public class SequenceStats
extends java.lang.Object
| Constructor and Description |
|---|
SequenceStats(int nGets,
int nCachedGets,
long current,
long value,
long lastValue,
long min,
long max,
int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
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() |
SequenceStats(int nGets,
int nCachedGets,
long current,
long value,
long lastValue,
long min,
long max,
int cacheSize)
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.ObjectCopyright (c) 2004,2008 Oracle. All rights reserved.