Package | Description |
---|---|
org.uncommonseditedbyjoosbuijs.util.id |
Strategies for providing unique identifiers of different types.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeIDSource
Thread-safe source for partitioned unique IDs.
|
class |
IntSequenceIDSource
Thread-safe source for unique IDs.
|
class |
LongSequenceIDSource
Thread-safe source for unique IDs.
|
class |
StringPrefixIDSource
Thread-safe ID source that wraps another source of IDs and adds a fixed String
prefix to each ID generated.
|
Constructor and Description |
---|
StringPrefixIDSource(java.lang.String prefix,
IDSource<?> source) |