|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a generator of long identifiers and ensures that allocated ones are never proposed again (allocation information is made persistent).
Method Summary | |
long |
allocateIds(int additional)
Allocate a range of ids. |
long |
current()
return the id that will be assigned next time. |
long |
genId()
/** Generates a new long identifier. |
long |
genId(java.lang.Object conn)
|
int |
getIncrement()
|
void |
setIncrement(int incr)
|
Method Detail |
public long genId() throws PException
PException
public long genId(java.lang.Object conn) throws PException
PException
public long allocateIds(int additional) throws PException
additional
-
PException
public void setIncrement(int incr)
public int getIncrement()
public long current()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |