|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.Sequence
public class Sequence
Javadoc for this public class is generated via the doc templates in the doc_src directory.
Constructor Summary | |
---|---|
Sequence(Database db,
Transaction txn,
DatabaseEntry key,
SequenceConfig config)
Opens a sequence handle, adding the sequence record if appropriate. |
Method Summary | |
---|---|
void |
close()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
long |
get(Transaction txn,
int delta)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Database |
getDatabase()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
DatabaseEntry |
getKey()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
SequenceStats |
getStats(StatsConfig config)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Sequence(Database db, Transaction txn, DatabaseEntry key, SequenceConfig config) throws DatabaseException
DatabaseException
Method Detail |
---|
public void close() throws DatabaseException
DatabaseException
public long get(Transaction txn, int delta) throws DatabaseException
This method is synchronized to protect updating of the cached value, since multiple threads may share a single handle. Multiple handles for the same database/key may be used to increase concurrency.
DatabaseException
public Database getDatabase() throws DatabaseException
DatabaseException
public DatabaseEntry getKey() throws DatabaseException
DatabaseException
public SequenceStats getStats(StatsConfig config) throws DatabaseException
DatabaseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |