| Modifier and Type | Method and Description |
|---|---|
static SynchronizedGeneratorIdentity |
SynchronizedGeneratorIdentity.basedOn(String endpoints,
String namespace,
Long claimDuration)
Create a new
SynchronizedGeneratorIdentity instance. |
static SynchronizedGeneratorIdentity |
SynchronizedGeneratorIdentity.basedOn(String endpoints,
String namespace,
Supplier<Duration> claimDurationSupplier,
Supplier<Duration> acquisitionTimeoutSupplier)
Create a new
SynchronizedGeneratorIdentity instance. |
| Modifier and Type | Method and Description |
|---|---|
static IDGenerator |
SynchronizedUniqueIDGeneratorFactory.generatorFor(SynchronizedGeneratorIdentity synchronizedGeneratorIdentity,
Clock clock,
Mode mode)
Get the synchronized ID generator instance.
|
Copyright © 2014–2021 Lable. All rights reserved.