Package com.sleepycat.db
Class SequenceStats
java.lang.Object
com.sleepycat.db.SequenceStats
A SequenceStats object is used to return sequence statistics.
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of values that will be cached in this handle.longThe current value of the sequence in the database.intgetFlags()The flags value for the sequence.longThe last cached value of the sequence.longgetMax()The maximum permitted value of the sequence.longgetMin()The minimum permitted value of the sequence.longThe number of times that a thread of control was able to obtain handle mutex without waiting.longgetValue()The current cached value of the sequence.longgetWait()The number of times a thread of control was forced to wait on the handle mutex.toString()
-
Method Details
-
getWait
public long getWait()The number of times a thread of control was forced to wait on the handle mutex. -
getNowait
public long getNowait()The number of times that a thread of control was able to obtain handle mutex without waiting. -
getCurrent
public long getCurrent()The current value of the sequence in the database. -
getValue
public long getValue()The current cached value of the sequence. -
getLastValue
public long getLastValue()The last cached value of the sequence. -
getMin
public long getMin()The minimum permitted value of the sequence. -
getMax
public long getMax()The maximum permitted value of the sequence. -
getCacheSize
public int getCacheSize()The number of values that will be cached in this handle. -
getFlags
public int getFlags()The flags value for the sequence. -
toString
-