|
Watchmaker Framework API (Version 0.6.2) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The type of ID returned by this source.public interface IDSource<T extends Serializable>
Defines operations for classes that generate unique identifiers. Generated IDs must
be of a Serializable type. The strategy used will vary between
implementations. It may be a straightforward sequence or a more complex, less predictable
algorithm.
| Method Summary | |
|---|---|
T |
nextID()
Implementing classes are responsible for synchronization if concurrent invocations of this method are required. |
| Method Detail |
|---|
T nextID()
IDSourceExhaustedException - If this ID source cannot generate any more
unique IDs.
|
Watchmaker Framework API (Version 0.6.2) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||