com.sleepycat.db
Class Sequence

java.lang.Object
  extended by com.sleepycat.db.Sequence

public class Sequence
extends java.lang.Object


Method Summary
 void close()
           
 long get(Transaction txn, int delta)
           
 Database getDatabase()
           
 DatabaseEntry getKey()
           
 SequenceStats getStats(StatsConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws DatabaseException
Throws:
DatabaseException

get

public long get(Transaction txn,
                int delta)
         throws DatabaseException
Throws:
DatabaseException

getDatabase

public Database getDatabase()
                     throws DatabaseException
Throws:
DatabaseException

getKey

public DatabaseEntry getKey()
                     throws DatabaseException
Throws:
DatabaseException

getStats

public SequenceStats getStats(StatsConfig config)
                       throws DatabaseException
Throws:
DatabaseException