| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the next free sequential id.Finds and allocates the first available sequential id. |
| public void | releaseSequentialId(int
the sequential id to release sequentialId)Frees the given sequential id so that it can be reused. |
| sequentialIdsLease | back to summary |
|---|---|
| private Set<Integer> sequentialIdsLease | |
| SequentialIdLease | back to summary |
|---|---|
| public SequentialIdLease() | |
| allocateSequentialId | back to summary |
|---|---|
| public int allocateSequentialId() Finds and allocates the first available sequential id.
| |
| releaseSequentialId | back to summary |
|---|---|
| public void releaseSequentialId(int sequentialId) Frees the given sequential id so that it can be reused.
| |