| Modifier and Type | Method and Description |
|---|---|
static SynchronizedGeneratorIdentity |
SynchronizedGeneratorIdentity.basedOn(String quorum,
String znode,
Long claimDuration)
Create a new
SynchronizedGeneratorIdentity instance. |
static SynchronizedGeneratorIdentity |
SynchronizedGeneratorIdentity.basedOn(String quorum,
String znode,
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–2020 Lable. All rights reserved.