Skip navigation links
B C D E G O R S V Z 

B

basedOn(String, String, Supplier<Duration>, Supplier<Duration>) - Static method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
Create a new SynchronizedGeneratorIdentity instance.
basedOn(String, String, Long) - Static method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
Create a new SynchronizedGeneratorIdentity instance.

C

claim(MonitoringZookeeperConnection, int, String) - Static method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
Claim a resource.
claim(MonitoringZookeeperConnection, int, String, Duration) - Static method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
Claim a resource.
claimExpiring(MonitoringZookeeperConnection, int, String) - Static method in class org.lable.oss.uniqueid.zookeeper.ExpiringResourceClaim
Claim a resource.
claimExpiring(MonitoringZookeeperConnection, int, String, Duration, Duration) - Static method in class org.lable.oss.uniqueid.zookeeper.ExpiringResourceClaim
Claim a resource.
close() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
Relinquish the claim to this resource, and release it back to the resource pool.
close(boolean) - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 
close() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
 
ClusterID - Class in org.lable.oss.uniqueid.zookeeper
Retrieves the numeric cluster ID from the ZooKeeper quorum.
ClusterID() - Constructor for class org.lable.oss.uniqueid.zookeeper.ClusterID
 
connected() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 

D

DEFAULT_ACQUISITION_TIMEOUT - Static variable in class org.lable.oss.uniqueid.zookeeper.ExpiringResourceClaim
 
DEFAULT_CLAIM_HOLD - Static variable in class org.lable.oss.uniqueid.zookeeper.ExpiringResourceClaim
 
disconnected() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 

E

ExpiringResourceClaim - Class in org.lable.oss.uniqueid.zookeeper
ResourceClaim that automatically relinquishes its hold on a resource after a set amount of time.

G

generatorFor(MonitoringZookeeperConnection, String, Clock, Mode) - Static method in class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGeneratorFactory
Get the synchronized ID generator instance.
generatorFor(MonitoringZookeeperConnection, String, Mode) - Static method in class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGeneratorFactory
Get the synchronized ID generator instance.
generatorFor(SynchronizedGeneratorIdentity, Clock, Mode) - Static method in class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGeneratorFactory
Get the synchronized ID generator instance.
get(ZooKeeper, String) - Static method in class org.lable.oss.uniqueid.zookeeper.ClusterID
Retrieves the numeric cluster ID from the ZooKeeper quorum.
get() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
Get the claimed resource.
getClusterId() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaimHolder
 
getClusterId() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
 
getConfiguredZNode() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 
getGeneratorId() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
 
getResourceId() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaimHolder
 
getZNode() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
 

O

org.lable.oss.uniqueid.zookeeper - package org.lable.oss.uniqueid.zookeeper
 

R

relinquishGeneratorIdClaim() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
 
ResourceClaim - Class in org.lable.oss.uniqueid.zookeeper
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.zookeeper
Internal state of this ResourceClaim.
ResourceClaimHolder - Class in org.lable.oss.uniqueid.zookeeper
 
ResourceClaimHolder(Supplier<ResourceClaim>, int) - Constructor for class org.lable.oss.uniqueid.zookeeper.ResourceClaimHolder
 

S

state - Variable in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 
SynchronizedGeneratorIdentity - Class in org.lable.oss.uniqueid.zookeeper
Implementation of GeneratorIdentityHolder that holds and reacquires when necessary a claim to a generator-ID.
SynchronizedGeneratorIdentity(MonitoringZookeeperConnection, String, int, Supplier<Duration>, Supplier<Duration>) - Constructor for class org.lable.oss.uniqueid.zookeeper.SynchronizedGeneratorIdentity
 
SynchronizedUniqueIDGeneratorFactory - Class in org.lable.oss.uniqueid.zookeeper
Create an IDGenerator capable of generating unique identifiers in a distributed environment with multiple services generating them.
SynchronizedUniqueIDGeneratorFactory() - Constructor for class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGeneratorFactory
 

V

valueOf(String) - Static method in enum org.lable.oss.uniqueid.zookeeper.ResourceClaim.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.lable.oss.uniqueid.zookeeper.ResourceClaim.State
Returns an array containing the constants of this enum type, in the order they are declared.

Z

ZooKeeperHelper - Class in org.lable.oss.uniqueid.zookeeper
A collection of short hand static methods for common ZooKeeper operations.
ZooKeeperHelper() - Constructor for class org.lable.oss.uniqueid.zookeeper.ZooKeeperHelper
 
B C D E G O R S V Z 
Skip navigation links

Copyright © 2014–2020 Lable. All rights reserved.