|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DBIDSourceTransaction
Defines methods used by DBIDGenerator create ID blocks.
| Method Summary | |
|---|---|
ReservedIDBlock |
createIDBlock(long blockSize,
java.lang.String context,
boolean wrapNumber)
Create and return a new ReservedIDBlock. |
| Methods inherited from interface com.metamatrix.common.connection.TransactionInterface |
|---|
close, commit, isClosed, isReadonly, rollback |
| Method Detail |
|---|
ReservedIDBlock createIDBlock(long blockSize,
java.lang.String context,
boolean wrapNumber)
throws java.lang.Exception
Create and return a new ReservedIDBlock.
Read in nextID from database, createIDBlock, then update nextID in database.
blockSize - size of id blockcontext - wrapNumber - is true when the context is at its maximum limit and
the next block should start over at the beginning
java.lang.Exception - when an error updating or reading the database occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||