|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdSource
Abstraction for a generic source of ID numbers.
| Method Summary | |
|---|---|
long |
nextId()
Get the next unique ID. |
void |
returnId(long id)
Return an ID back to the pool |
| Method Detail |
|---|
long nextId()
throws ApplicationException
ApplicationException - if an ID could not be retrieved.
void returnId(long id)
throws ApplicationException
id - ID to be returned
ApplicationException - if ID could not be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||