long function ( Transaction arg0 , int arg1 ) { return seq . get ( ( arg0 == null ) ? null : arg0 . arg0 , arg1 , ( arg0 == null ) ? autoCommitFlag : 0 ) ; }
return the next available element in the sequence and changes the sequence value by delta . the value of delta must be greater than zero . if there are enough cached values in the sequence handle then they will be returned . otherwise the next value will be fetched from the database and incremented decremented by enough to cover the delta and the next batch of cached values . the txn handle must be null if the sequence handle was opened with a non-zero cache size . for maximum concurrency , a non-zero cache size should be specified prior to opening the sequence handle , the txn handle should be null , and com.sleepycat.db.sequenceconfig #setautocommitnosync sequenceconfig.setautocommitnosync shouldbe called to disable log flushes . concode_field_sep int autoCommitFlag concode_elem_sep DbSequence seq concode_field_sep DatabaseEntry getKey concode_elem_sep SequenceStats getStats concode_elem_sep Database getDatabase concode_elem_sep void close