B C D E G H I K O P R S V
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- basedOn(String, String, Long) - Static method in class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
-
Create a new
SynchronizedGeneratorIdentityinstance. - basedOn(String, String, String) - Static method in class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- basedOn(String, String, String, Duration, boolean) - Static method in class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- basedOn(String, String, Supplier<Duration>, Supplier<Duration>) - Static method in class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
-
Create a new
SynchronizedGeneratorIdentityinstance.
C
- claim(Client, int, List<Integer>) - Static method in class org.lable.oss.uniqueid.etcd.ResourceClaim
-
Claim a resource.
- claim(Client, int, List<Integer>, Duration) - Static method in class org.lable.oss.uniqueid.etcd.ResourceClaim
-
Claim a resource.
- claim(Supplier<Client>, int, String, Duration, boolean) - Static method in class org.lable.oss.uniqueid.etcd.RegistryBasedResourceClaim
-
Claim a resource.
- CLAIM_RELINQUISHED - org.lable.oss.uniqueid.etcd.ResourceClaim.State
- claimExpiring(Client, int, List<Integer>) - Static method in class org.lable.oss.uniqueid.etcd.ExpiringResourceClaim
-
Claim a resource.
- claimExpiring(Client, int, List<Integer>, Duration, Duration) - Static method in class org.lable.oss.uniqueid.etcd.ExpiringResourceClaim
-
Claim a resource.
- cleanUp() - Method in interface org.lable.oss.uniqueid.etcd.EtcdHelper.OnRelease
- close() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- close() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedResourceClaim
- close() - Method in class org.lable.oss.uniqueid.etcd.ResourceClaim
-
Relinquish the claim to this resource, and release it back to the resource pool.
- close() - Method in class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
- close(boolean) - Method in class org.lable.oss.uniqueid.etcd.ResourceClaim
- closeables - Variable in class org.lable.oss.uniqueid.etcd.ResourceClaim
- ClusterID - Class in org.lable.oss.uniqueid.etcd
- ClusterID() - Constructor for class org.lable.oss.uniqueid.etcd.ClusterID
D
- DEFAULT_ACQUISITION_TIMEOUT - Static variable in class org.lable.oss.uniqueid.etcd.ExpiringResourceClaim
- DEFAULT_CLAIM_HOLD - Static variable in class org.lable.oss.uniqueid.etcd.ExpiringResourceClaim
- delete(Client, String) - Static method in class org.lable.oss.uniqueid.etcd.EtcdHelper
E
- EtcdHelper - Class in org.lable.oss.uniqueid.etcd
-
Utility methods that make working with jetcd a little less verbose.
- EtcdHelper() - Constructor for class org.lable.oss.uniqueid.etcd.EtcdHelper
- EtcdHelper.OnRelease - Interface in org.lable.oss.uniqueid.etcd
- ExpiringResourceClaim - Class in org.lable.oss.uniqueid.etcd
-
ResourceClaimthat automatically relinquishes its hold on a resource after a set amount of time.
G
- generatorFor(Client, Mode) - Static method in class org.lable.oss.uniqueid.etcd.SynchronizedUniqueIDGeneratorFactory
-
Get the synchronized ID generator instance.
- generatorFor(Client, Clock, Mode) - Static method in class org.lable.oss.uniqueid.etcd.SynchronizedUniqueIDGeneratorFactory
-
Get the synchronized ID generator instance.
- generatorFor(SynchronizedGeneratorIdentity, Clock, Mode) - Static method in class org.lable.oss.uniqueid.etcd.SynchronizedUniqueIDGeneratorFactory
-
Get the synchronized ID generator instance.
- get(Client) - Static method in class org.lable.oss.uniqueid.etcd.ClusterID
-
Retrieves the numeric cluster ID from the Etcd cluster.
- get(Client, String) - Static method in class org.lable.oss.uniqueid.etcd.EtcdHelper
- getClusterId() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- getClusterId() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedResourceClaim
- getClusterId() - Method in class org.lable.oss.uniqueid.etcd.ResourceClaim
-
Get the claimed resource.
- getClusterId() - Method in class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
- getGeneratorId() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- getGeneratorId() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedResourceClaim
- getGeneratorId() - Method in class org.lable.oss.uniqueid.etcd.ResourceClaim
- getGeneratorId() - Method in class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
- getInt(Client, String) - Static method in class org.lable.oss.uniqueid.etcd.EtcdHelper
- getRegistryEntry() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- getRegistryEntry() - Method in class org.lable.oss.uniqueid.etcd.RegistryBasedResourceClaim
H
- HAS_CLAIM - org.lable.oss.uniqueid.etcd.ResourceClaim.State
I
- INITIALIZING - org.lable.oss.uniqueid.etcd.ResourceClaim.State
K
- keepLeaseAlive(Client, Long, EtcdHelper.OnRelease) - Static method in class org.lable.oss.uniqueid.etcd.EtcdHelper
O
- org.lable.oss.uniqueid.etcd - package org.lable.oss.uniqueid.etcd
P
- put(Client, String) - Static method in class org.lable.oss.uniqueid.etcd.EtcdHelper
- put(Client, String, int) - Static method in class org.lable.oss.uniqueid.etcd.EtcdHelper
R
- RegistryBasedGeneratorIdentity - Class in org.lable.oss.uniqueid.etcd
-
Holder for a claimed cluster-id and generator-id that once claimed remains claimed without an active connection to an Etcd cluster.
- RegistryBasedGeneratorIdentity(String, String, String, Duration, boolean) - Constructor for class org.lable.oss.uniqueid.etcd.RegistryBasedGeneratorIdentity
- RegistryBasedResourceClaim - Class in org.lable.oss.uniqueid.etcd
- relinquishResourceClaim() - Method in class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
- ResourceClaim - Class in org.lable.oss.uniqueid.etcd
-
Represents a claim on resource (represented by an int) from a finite pool of resources negotiated through a queueing protocol facilitated by a ZooKeeper-quorum.
- ResourceClaim.State - Enum in org.lable.oss.uniqueid.etcd
-
Internal state of this ResourceClaim.
S
- state - Variable in class org.lable.oss.uniqueid.etcd.ResourceClaim
- SynchronizedGeneratorIdentity - Class in org.lable.oss.uniqueid.etcd
- SynchronizedGeneratorIdentity(Client, List<Integer>, Supplier<Duration>, Supplier<Duration>) - Constructor for class org.lable.oss.uniqueid.etcd.SynchronizedGeneratorIdentity
- SynchronizedUniqueIDGeneratorFactory - Class in org.lable.oss.uniqueid.etcd
-
Create an
IDGeneratorcapable of generating unique identifiers in a distributed environment with multiple services generating them. - SynchronizedUniqueIDGeneratorFactory() - Constructor for class org.lable.oss.uniqueid.etcd.SynchronizedUniqueIDGeneratorFactory
V
- valueOf(String) - Static method in enum org.lable.oss.uniqueid.etcd.ResourceClaim.State
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.lable.oss.uniqueid.etcd.ResourceClaim.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages