private class ImportWorker.IDContext
extends java.lang.Object
ImportWorker.idBracketSize
.Modifier and Type | Field and Description |
---|---|
private long |
counter
Counter
|
Constructor and Description |
---|
IDContext()
Default constructor; sets up internal counter.
|
Modifier and Type | Method and Description |
---|---|
(package private) long |
getCurrentID()
Get the most recently allocated, globally unique ID.
|
(package private) long |
getNextID()
Get the next available, globally unique ID.
|
private void |
prepareNextBracket()
Prepare the next bracket of available IDs for this context.
|
long getNextID()
long getCurrentID()
private void prepareNextBracket()