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

C

claim(ZooKeeper, int, String) - Static method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
Claim a resource.
claimExpiring(ZooKeeper, int, String) - Static method in class org.lable.oss.uniqueid.zookeeper.ExpiringResourceClaim
Claim a resource.
claimExpiring(ZooKeeper, int, String, long) - 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.
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
 
configure(String) - Static method in enum org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnection
Configure the ZooKeeper quorum addresses.
connected() - Method in interface org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnectionObserver
Called when the connection to the ZooKeeper quorum is established.
connected() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 

D

DEFAULT_TIMEOUT - Static variable in class org.lable.oss.uniqueid.zookeeper.ExpiringResourceClaim
 
deregisterObserver(ZooKeeperConnectionObserver) - Static method in enum org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnection
 
disconnected() - Method in interface org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnectionObserver
Called when the connection to the ZooKeeper quorum was interrupted.
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

generate() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGenerator
generatorFor(String, String) - Static method in class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGenerator
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() - Static method in enum org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnection
Get the ZooKeeper connection object.
get() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
Get the claimed resource.
getConfiguredZNode() - Method in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 

O

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

R

registerObserver(ZooKeeperConnectionObserver) - Static method in enum org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnection
 
relinquishGeneratorIDClaim() - Method in class org.lable.oss.uniqueid.zookeeper.SynchronizedUniqueIDGenerator
Return the claimed generator ID to the pool.
reset() - Static method in enum org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnection
Remove any preexisting ZooKeeper connection instance.
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.

S

state - Variable in class org.lable.oss.uniqueid.zookeeper.ResourceClaim
 
SynchronizedUniqueIDGenerator - Class in org.lable.oss.uniqueid.zookeeper
A BaseUniqueIDGenerator that coordinates the generator ID used by other processes using this class via the same ZooKeeper quorum by attempting to claim an available ID for itself.

V

valueOf(String) - Static method in enum org.lable.oss.uniqueid.zookeeper.connection.ZooKeeperConnection
Returns the enum constant of this type with the specified name.
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.connection.ZooKeeperConnection
Returns an array containing the constants of this enum type, in the order they are declared.
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

ZooKeeperConnection - Enum in org.lable.oss.uniqueid.zookeeper.connection
Singleton for a ZooKeeper connection object instance.
ZooKeeperConnectionObserver - Interface in org.lable.oss.uniqueid.zookeeper.connection
Implementing classes wish to be notified of changes in the status of the connection to the ZooKeeper quorum.
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
 
C D E G O R S V Z 
Skip navigation links

Copyright © 2014–2015 Lable. All rights reserved.