A B C D E F G H I L M N P Q R S T V W

A

acquire() - Method in interface com.netflix.curator.framework.recipes.locks.InterProcessLock
Acquire the mutex - blocking until it's available.
acquire(long, TimeUnit) - Method in interface com.netflix.curator.framework.recipes.locks.InterProcessLock
Acquire the mutex - blocks until it's available or the given time expires.
acquire() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMultiLock
Acquire the mutex - blocking until it's available.
acquire(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMultiLock
Acquire the mutex - blocks until it's available or the given time expires.
acquire() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
Acquire the mutex - blocking until it's available.
acquire(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
Acquire the mutex - blocks until it's available or the given time expires.
acquire() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
Acquire a lease.
acquire(int) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
Acquire qty leases.
acquire(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
Acquire a lease.
acquire(int, long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
Acquire qty leases.
add(Integer) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
Add delta to the current value and return the new value information.
add(Long) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
Add delta to the current value and return the new value information.
add(T) - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Add delta to the current value and return the new value information.
addListener(SharedCountListener) - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
 
addListener(SharedCountListener, Executor) - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
 
AtomicStats - Class in com.netflix.curator.framework.recipes.atomic
Debugging stats about operations
AtomicStats() - Constructor for class com.netflix.curator.framework.recipes.atomic.AtomicStats
 
AtomicValue<T> - Interface in com.netflix.curator.framework.recipes.atomic
Abstracts a value returned from one of the Atomics
attemptRevoke(CuratorFramework, String) - Static method in class com.netflix.curator.framework.recipes.locks.Revoker
Utility to mark a lock for revocation.

B

BlockingQueueConsumer<T> - Class in com.netflix.curator.framework.recipes.queue
Utility - a queue consumer that provides behavior similar to a BlockingQueue
BlockingQueueConsumer(ConnectionStateListener) - Constructor for class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Creates with capacity of Integer.MAX_VALUE
BlockingQueueConsumer(ConnectionStateListener, int) - Constructor for class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
 
BlockingQueueConsumer(ConnectionStateListener, BlockingQueue<T>) - Constructor for class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Wrap the given blocking queue
build() - Method in class com.netflix.curator.framework.recipes.atomic.PromotedToLock.Builder
Build the argument block
builder() - Static method in class com.netflix.curator.framework.recipes.atomic.PromotedToLock
Allocate a new builder
builder(CuratorFramework, QueueConsumer<T>, QueueSerializer<T>, String) - Static method in class com.netflix.curator.framework.recipes.queue.QueueBuilder
Allocate a new builder
buildPriorityQueue(int) - Method in class com.netflix.curator.framework.recipes.queue.QueueBuilder
Build a DistributedPriorityQueue from the current builder values.
buildQueue() - Method in class com.netflix.curator.framework.recipes.queue.QueueBuilder
Build a DistributedQueue from the current builder values

C

CachedAtomicInteger - Class in com.netflix.curator.framework.recipes.atomic
Uses an DistributedAtomicNumber and allocates values in chunks for better performance
CachedAtomicInteger(DistributedAtomicInteger, int) - Constructor for class com.netflix.curator.framework.recipes.atomic.CachedAtomicInteger
 
CachedAtomicLong - Class in com.netflix.curator.framework.recipes.atomic
Uses an DistributedAtomicNumber and allocates values in chunks for better performance
CachedAtomicLong(DistributedAtomicLong, int) - Constructor for class com.netflix.curator.framework.recipes.atomic.CachedAtomicLong
 
ChildData - Class in com.netflix.curator.framework.recipes.cache
 
childEvent(CuratorFramework, PathChildrenCacheEvent) - Method in interface com.netflix.curator.framework.recipes.cache.PathChildrenCacheListener
Called when a change has occurred
clearAndRefresh() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Clear out current data and begin a new query on the path
close() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Close/end the cache
close() - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Shutdown this selector and remove yourself from the leadership group
close() - Method in interface com.netflix.curator.framework.recipes.locks.Lease
Releases the lease so that other clients/processes can acquire it
close() - Method in class com.netflix.curator.framework.recipes.queue.DistributedPriorityQueue
 
close() - Method in class com.netflix.curator.framework.recipes.queue.DistributedQueue
 
close() - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
 
close() - Method in class com.netflix.curator.framework.recipes.shared.SharedValue
 
com.netflix.curator.framework.recipes.atomic - package com.netflix.curator.framework.recipes.atomic
 
com.netflix.curator.framework.recipes.barriers - package com.netflix.curator.framework.recipes.barriers
 
com.netflix.curator.framework.recipes.cache - package com.netflix.curator.framework.recipes.cache
 
com.netflix.curator.framework.recipes.leader - package com.netflix.curator.framework.recipes.leader
 
com.netflix.curator.framework.recipes.locks - package com.netflix.curator.framework.recipes.locks
 
com.netflix.curator.framework.recipes.queue - package com.netflix.curator.framework.recipes.queue
 
com.netflix.curator.framework.recipes.shared - package com.netflix.curator.framework.recipes.shared
 
compareAndSet(Integer, Integer) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
 
compareAndSet(Long, Long) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
 
compareAndSet(T, T) - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Atomically sets the value to the given updated value if the current value == the expected value.
compareAndSet(byte[], byte[]) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicValue
Atomically sets the value to the given updated value if the current value == the expected value.
compareTo(ChildData) - Method in class com.netflix.curator.framework.recipes.cache.ChildData
 
consumeMessage(T) - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
 
consumeMessage(T) - Method in interface com.netflix.curator.framework.recipes.queue.QueueConsumer
Process a message from the queue
countHasChanged(SharedCountReader, int) - Method in interface com.netflix.curator.framework.recipes.shared.SharedCountListener
Called when the shared value has changed

D

decrement() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
Subtract 1 from the current value and return the new value information.
decrement() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
Subtract 1 from the current value and return the new value information.
decrement() - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Subtract 1 from the current value and return the new value information.
defaultPriorityToString(int) - Static method in class com.netflix.curator.framework.recipes.queue.DistributedPriorityQueue
The default method of converting a priority into a sortable string
deserialize(byte[]) - Method in interface com.netflix.curator.framework.recipes.queue.QueueSerializer
Deserialize bytes into a queue item
DistributedAtomicInteger - Class in com.netflix.curator.framework.recipes.atomic
A counter that attempts atomic increments.
DistributedAtomicInteger(CuratorFramework, String, RetryPolicy) - Constructor for class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
Creates in optimistic mode only - i.e.
DistributedAtomicInteger(CuratorFramework, String, RetryPolicy, PromotedToLock) - Constructor for class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
Creates in mutex promotion mode.
DistributedAtomicLong - Class in com.netflix.curator.framework.recipes.atomic
A counter that attempts atomic increments.
DistributedAtomicLong(CuratorFramework, String, RetryPolicy) - Constructor for class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
Creates in optimistic mode only - i.e.
DistributedAtomicLong(CuratorFramework, String, RetryPolicy, PromotedToLock) - Constructor for class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
Creates in mutex promotion mode.
DistributedAtomicNumber<T> - Interface in com.netflix.curator.framework.recipes.atomic
 
DistributedAtomicValue - Class in com.netflix.curator.framework.recipes.atomic
A distributed value that attempts atomic sets.
DistributedAtomicValue(CuratorFramework, String, RetryPolicy) - Constructor for class com.netflix.curator.framework.recipes.atomic.DistributedAtomicValue
Creates in optimistic mode only - i.e.
DistributedAtomicValue(CuratorFramework, String, RetryPolicy, PromotedToLock) - Constructor for class com.netflix.curator.framework.recipes.atomic.DistributedAtomicValue
Creates in mutex promotion mode.
DistributedBarrier - Class in com.netflix.curator.framework.recipes.barriers
A barrier as described in the ZK recipes.
DistributedBarrier(CuratorFramework, String) - Constructor for class com.netflix.curator.framework.recipes.barriers.DistributedBarrier
 
DistributedDoubleBarrier - Class in com.netflix.curator.framework.recipes.barriers
A double barrier as described in the ZK recipes.
DistributedDoubleBarrier(CuratorFramework, String, int) - Constructor for class com.netflix.curator.framework.recipes.barriers.DistributedDoubleBarrier
Creates the barrier abstraction.
DistributedPriorityQueue<T> - Class in com.netflix.curator.framework.recipes.queue
An implementation of the Distributed Priority Queue ZK recipe.
DistributedQueue<T> - Class in com.netflix.curator.framework.recipes.queue
An implementation of the Distributed Queue ZK recipe.
drainTo(Collection<? super T>) - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Removes all available elements from this queue and adds them to the given collection.

E

enter() - Method in class com.netflix.curator.framework.recipes.barriers.DistributedDoubleBarrier
Enter the barrier and block until all members have entered
enter(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.barriers.DistributedDoubleBarrier
Enter the barrier and block until all members have entered or the timeout has elapsed
equals(Object) - Method in class com.netflix.curator.framework.recipes.cache.ChildData
 
equals(Object) - Method in class com.netflix.curator.framework.recipes.leader.Participant
 
ErrorMode - Enum in com.netflix.curator.framework.recipes.queue
Used when the queue is created with a QueueBuilder.lockPath(String).
executor(Executor) - Method in class com.netflix.curator.framework.recipes.queue.QueueBuilder
Change the executor used.

F

flushPuts(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.queue.DistributedQueue
Wait until any pending puts are committed
forceSet(Integer) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
 
forceSet(Long) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
 
forceSet(T) - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Forcibly sets the value of the counter without any guarantees of atomicity.
forceSet(byte[]) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicValue
Forcibly sets the value any guarantees of atomicity.

G

get() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
 
get() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
 
get() - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Returns the current value of the counter.
get() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicValue
Returns the current value of the counter.
getCount() - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
 
getCount() - Method in interface com.netflix.curator.framework.recipes.shared.SharedCountReader
Return the current value of the count
getCurrentData() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Return the current data.
getCurrentData(String) - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Return the current data for the given path.
getData() - Method in class com.netflix.curator.framework.recipes.cache.ChildData
Returns the node data for this child when the cache mode is PathChildrenCacheMode.CACHE_DATA_AND_STAT or PathChildrenCacheMode.CACHE_DATA.
getData() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent
 
getId() - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Return the ID that was set via LeaderSelector.setId(String)
getId() - Method in class com.netflix.curator.framework.recipes.leader.Participant
Returns the ID set via LeaderSelector.setId(String)
getItems() - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Return any currently queued items without removing them from the queue
getLeader() - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Return the id for the current leader.
getListenable() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Return the cache listenable
getListenable() - Method in class com.netflix.curator.framework.recipes.shared.SharedValue
Returns the listenable
getListenable() - Method in interface com.netflix.curator.framework.recipes.shared.SharedValueReader
Returns the listenable
getLockNodeBytes() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
 
getOptimisticTimeMs() - Method in class com.netflix.curator.framework.recipes.atomic.AtomicStats
Returns the time spent trying the operation with optimistic locks
getOptimisticTries() - Method in class com.netflix.curator.framework.recipes.atomic.AtomicStats
Returns the number of optimistic locks used to perform the operation
getParticipantNodes() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
Return a sorted list of all current nodes participating in the lock
getParticipants() - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Returns the set of current participants in the leader selection
getPath() - Method in class com.netflix.curator.framework.recipes.cache.ChildData
Returns the full path of the this child
getPromotedLockTries() - Method in class com.netflix.curator.framework.recipes.atomic.AtomicStats
Returns the number of mutex locks used to perform the operation
getPromotedTimeMs() - Method in class com.netflix.curator.framework.recipes.atomic.AtomicStats
Returns the time spent trying the operation with mutex locks
getStat() - Method in class com.netflix.curator.framework.recipes.cache.ChildData
Returns the stat data for this child when the cache mode is PathChildrenCacheMode.CACHE_DATA_AND_STAT
getStats() - Method in interface com.netflix.curator.framework.recipes.atomic.AtomicValue
Returns debugging stats about the operation
getType() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent
 
getValue() - Method in class com.netflix.curator.framework.recipes.shared.SharedValue
 
getValue() - Method in interface com.netflix.curator.framework.recipes.shared.SharedValueReader
Return the current value of the count

H

handleException(Throwable) - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Default behavior is just to log the exception
hashCode() - Method in class com.netflix.curator.framework.recipes.cache.ChildData
 
hashCode() - Method in class com.netflix.curator.framework.recipes.leader.Participant
 
hasLeadership() - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Return true if leadership is currently held by this instance

I

increment() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
Add 1 to the current value and return the new value information.
increment() - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
Add 1 to the current value and return the new value information.
increment() - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Add 1 to the current value and return the new value information.
InterProcessLock - Interface in com.netflix.curator.framework.recipes.locks
 
InterProcessMultiLock - Class in com.netflix.curator.framework.recipes.locks
A container that manages multiple locks as a single entity.
InterProcessMultiLock(CuratorFramework, List<String>) - Constructor for class com.netflix.curator.framework.recipes.locks.InterProcessMultiLock
Creates a multi lock of InterProcessMutexs
InterProcessMultiLock(List<InterProcessLock>) - Constructor for class com.netflix.curator.framework.recipes.locks.InterProcessMultiLock
Creates a multi lock of any type of inter process lock
InterProcessMutex - Class in com.netflix.curator.framework.recipes.locks
A re-entrant mutex that works across JVMs.
InterProcessMutex(CuratorFramework, String) - Constructor for class com.netflix.curator.framework.recipes.locks.InterProcessMutex
 
InterProcessReadWriteLock - Class in com.netflix.curator.framework.recipes.locks
A re-entrant read/write mutex that works across JVMs.
InterProcessReadWriteLock(CuratorFramework, String) - Constructor for class com.netflix.curator.framework.recipes.locks.InterProcessReadWriteLock
 
InterProcessSemaphore - Class in com.netflix.curator.framework.recipes.locks
A counting semaphore that works across JVMs.
InterProcessSemaphore(CuratorFramework, String, int) - Constructor for class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
 
InterProcessSemaphore(CuratorFramework, String, SharedCountReader) - Constructor for class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
 
isAcquiredInThisProcess() - Method in interface com.netflix.curator.framework.recipes.locks.InterProcessLock
Returns true if the mutex is acquired by a thread in this JVM
isAcquiredInThisProcess() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMultiLock
 
isAcquiredInThisProcess() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
Returns true if the mutex is acquired by a thread in this JVM
isLeader() - Method in class com.netflix.curator.framework.recipes.leader.Participant
Returns true if this participant is the current leader

L

LeaderSelector - Class in com.netflix.curator.framework.recipes.leader
Abstraction to select a "leader" amongst multiple contenders in a group of JMVs connected to a Zookeeper cluster.
LeaderSelector(CuratorFramework, String, LeaderSelectorListener) - Constructor for class com.netflix.curator.framework.recipes.leader.LeaderSelector
 
LeaderSelector(CuratorFramework, String, ThreadFactory, Executor, LeaderSelectorListener) - Constructor for class com.netflix.curator.framework.recipes.leader.LeaderSelector
 
LeaderSelectorListener - Interface in com.netflix.curator.framework.recipes.leader
Notification for leadership
Lease - Interface in com.netflix.curator.framework.recipes.locks
Represents an acquired lease from an InterProcessSemaphore.
leave() - Method in class com.netflix.curator.framework.recipes.barriers.DistributedDoubleBarrier
Leave the barrier and block until all members have left
leave(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.barriers.DistributedDoubleBarrier
Leave the barrier and block until all members have left or the timeout has elapsed
lockPath(String) - Method in class com.netflix.curator.framework.recipes.atomic.PromotedToLock.Builder
Set the path for the mutex lock (required)
lockPath(String) - Method in class com.netflix.curator.framework.recipes.queue.QueueBuilder
Without a lock set, queue items are removed before being sent to the queue consumer.

M

makeRevocable(RevocationListener<InterProcessMutex>) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
 
makeRevocable(RevocationListener<InterProcessMutex>, Executor) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
 
makeRevocable(RevocationListener<T>) - Method in interface com.netflix.curator.framework.recipes.locks.Revocable
Make the lock revocable.
makeRevocable(RevocationListener<T>, Executor) - Method in interface com.netflix.curator.framework.recipes.locks.Revocable
Make the lock revocable.
MultiItem<T> - Interface in com.netflix.curator.framework.recipes.queue
Abstraction for multiple items.

N

next() - Method in class com.netflix.curator.framework.recipes.atomic.CachedAtomicInteger
Returns the next value (incrementing by 1).
next() - Method in class com.netflix.curator.framework.recipes.atomic.CachedAtomicLong
Returns the next value (incrementing by 1).
nextItem() - Method in interface com.netflix.curator.framework.recipes.queue.MultiItem
Called repeatedly to get the items to add to the queue.

P

Participant - Class in com.netflix.curator.framework.recipes.leader
Describes a participant in a leadership selection
Participant(String, boolean) - Constructor for class com.netflix.curator.framework.recipes.leader.Participant
 
PathChildrenCache - Class in com.netflix.curator.framework.recipes.cache
A utility that attempts to keep all data from all children of a ZK path locally cached.
PathChildrenCache(CuratorFramework, String, PathChildrenCacheMode) - Constructor for class com.netflix.curator.framework.recipes.cache.PathChildrenCache
 
PathChildrenCache(CuratorFramework, String, PathChildrenCacheMode, ThreadFactory) - Constructor for class com.netflix.curator.framework.recipes.cache.PathChildrenCache
 
PathChildrenCacheEvent - Class in com.netflix.curator.framework.recipes.cache
POJO that abstracts a change to a path
PathChildrenCacheEvent(PathChildrenCacheEvent.Type, ChildData) - Constructor for class com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent
 
PathChildrenCacheEvent.Type - Enum in com.netflix.curator.framework.recipes.cache
Type of change
PathChildrenCacheListener - Interface in com.netflix.curator.framework.recipes.cache
Listener for PathChildrenCache changes
PathChildrenCacheMode - Enum in com.netflix.curator.framework.recipes.cache
Controls which data is cached
postValue() - Method in interface com.netflix.curator.framework.recipes.atomic.AtomicValue
Returns the value of the counter after to the operation
preValue() - Method in interface com.netflix.curator.framework.recipes.atomic.AtomicValue
Returns the value of the counter prior to the operation
priorityToString(int) - Method in class com.netflix.curator.framework.recipes.queue.DistributedPriorityQueue
 
PromotedToLock - Class in com.netflix.curator.framework.recipes.atomic
Abstraction of arguments for mutex promotion.
PromotedToLock.Builder - Class in com.netflix.curator.framework.recipes.atomic
 
put(T, int) - Method in class com.netflix.curator.framework.recipes.queue.DistributedPriorityQueue
Add an item into the queue.
put(T) - Method in class com.netflix.curator.framework.recipes.queue.DistributedQueue
Add an item into the queue.
putMulti(MultiItem<T>, int) - Method in class com.netflix.curator.framework.recipes.queue.DistributedPriorityQueue
Add a set of items with the same priority into the queue.
putMulti(MultiItem<T>) - Method in class com.netflix.curator.framework.recipes.queue.DistributedQueue
Add a set of items into the queue.

Q

QueueBuilder<T> - Class in com.netflix.curator.framework.recipes.queue
The builder for both DistributedQueue and DistributedPriorityQueue
QueueConsumer<T> - Interface in com.netflix.curator.framework.recipes.queue
Message Consumer
QueueSafety<T> - Class in com.netflix.curator.framework.recipes.queue
Parameter block for specifying queue safety with either DistributedQueue or DistributedPriorityQueue
QueueSafety(String, QueueConsumer<T>) - Constructor for class com.netflix.curator.framework.recipes.queue.QueueSafety
 
QueueSerializer<T> - Interface in com.netflix.curator.framework.recipes.queue
Helper to serialize/deserialize queue items

R

readLock() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessReadWriteLock
Returns the lock used for reading.
release() - Method in interface com.netflix.curator.framework.recipes.locks.InterProcessLock
Perform one release of the mutex if the calling thread is the same thread that acquired it.
release() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMultiLock
Perform one release of the mutex if the calling thread is the same thread that acquired it.
release() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessMutex
Perform one release of the mutex if the calling thread is the same thread that acquired it.
removeBarrier() - Method in class com.netflix.curator.framework.recipes.barriers.DistributedBarrier
Utility to remove the barrier node
removeListener(SharedCountListener) - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
 
retryPolicy(RetryPolicy) - Method in class com.netflix.curator.framework.recipes.atomic.PromotedToLock.Builder
Set the retry policy to use when an operation does not succeeed (optional)
returnAll(Collection<Lease>) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
Convenience method.
returnLease(Lease) - Method in class com.netflix.curator.framework.recipes.locks.InterProcessSemaphore
Convenience method.
Revocable<T> - Interface in com.netflix.curator.framework.recipes.locks
Specifies locks that can be revoked
RevocationListener<T> - Interface in com.netflix.curator.framework.recipes.locks
 
revocationRequested(T) - Method in interface com.netflix.curator.framework.recipes.locks.RevocationListener
Called when a revocation request has been received.
Revoker - Class in com.netflix.curator.framework.recipes.locks
 

S

serialize(T) - Method in interface com.netflix.curator.framework.recipes.queue.QueueSerializer
Turn a queue item into bytes
setBarrier() - Method in class com.netflix.curator.framework.recipes.barriers.DistributedBarrier
Utility to set the barrier node
setCount(int) - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
Change the shared count value irrespective of its previous state
setErrorMode(ErrorMode) - Method in class com.netflix.curator.framework.recipes.queue.DistributedQueue
Used when the queue is created with a QueueBuilder.lockPath(String).
setId(String) - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Sets the ID to store for this leader.
setValue(byte[]) - Method in class com.netflix.curator.framework.recipes.shared.SharedValue
Change the shared value value irrespective of its previous state
SharedCount - Class in com.netflix.curator.framework.recipes.shared
Manages a shared integer.
SharedCount(CuratorFramework, String, int) - Constructor for class com.netflix.curator.framework.recipes.shared.SharedCount
 
SharedCountListener - Interface in com.netflix.curator.framework.recipes.shared
Listener for changes to a shared count
SharedCountReader - Interface in com.netflix.curator.framework.recipes.shared
Abstracts a shared integer and allows listening for changes to its value
SharedValue - Class in com.netflix.curator.framework.recipes.shared
Manages a shared value.
SharedValue(CuratorFramework, String, byte[]) - Constructor for class com.netflix.curator.framework.recipes.shared.SharedValue
 
SharedValueListener - Interface in com.netflix.curator.framework.recipes.shared
Listener for changes to a shared value
SharedValueReader - Interface in com.netflix.curator.framework.recipes.shared
Abstracts a shared value and allows listening for changes to the value
size() - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Returns the number of currently queue items
start() - Method in class com.netflix.curator.framework.recipes.cache.PathChildrenCache
Start the cache.
start() - Method in class com.netflix.curator.framework.recipes.leader.LeaderSelector
Attempt leadership.
start() - Method in class com.netflix.curator.framework.recipes.queue.DistributedPriorityQueue
Start the queue.
start() - Method in class com.netflix.curator.framework.recipes.queue.DistributedQueue
Start the queue.
start() - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
The shared count must be started before it can be used.
start() - Method in class com.netflix.curator.framework.recipes.shared.SharedValue
The shared value must be started before it can be used.
stateChanged(CuratorFramework, ConnectionState) - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
 
subtract(Integer) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
Subtract delta from the current value and return the new value information.
subtract(Long) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
Subtract delta from the current value and return the new value information.
subtract(T) - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Subtract delta from the current value and return the new value information.
succeeded() - Method in interface com.netflix.curator.framework.recipes.atomic.AtomicValue
MUST be checked. Returns true if the operation succeeded.

T

take() - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Take the next item from the queue, blocking until there is an item available
take(int, TimeUnit) - Method in class com.netflix.curator.framework.recipes.queue.BlockingQueueConsumer
Take the next item from the queue, waiting up to the specified time for an available item.
takeLeadership(CuratorFramework) - Method in interface com.netflix.curator.framework.recipes.leader.LeaderSelectorListener
Called when your instance has been granted leadership.
threadFactory(ThreadFactory) - Method in class com.netflix.curator.framework.recipes.queue.QueueBuilder
Change the thread factory used.
timeout(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.atomic.PromotedToLock.Builder
Set the timeout to use when locking (optional)
toString() - Method in class com.netflix.curator.framework.recipes.leader.Participant
 
trySet(Integer) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicInteger
 
trySet(Long) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicLong
 
trySet(T) - Method in interface com.netflix.curator.framework.recipes.atomic.DistributedAtomicNumber
Attempt to atomically set the value to the given value.
trySet(byte[]) - Method in class com.netflix.curator.framework.recipes.atomic.DistributedAtomicValue
Attempt to atomically set the value to the given value.
trySetCount(int) - Method in class com.netflix.curator.framework.recipes.shared.SharedCount
Changes the shared count only if its value has not changed since this client last read it.
trySetValue(byte[]) - Method in class com.netflix.curator.framework.recipes.shared.SharedValue
Changes the shared value only if its value has not changed since this client last read it.

V

valueHasChanged(SharedValueReader, byte[]) - Method in interface com.netflix.curator.framework.recipes.shared.SharedValueListener
Called when the shared value has changed
valueOf(String) - Static method in enum com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.curator.framework.recipes.cache.PathChildrenCacheMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.curator.framework.recipes.queue.ErrorMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.netflix.curator.framework.recipes.cache.PathChildrenCacheEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.curator.framework.recipes.cache.PathChildrenCacheMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.curator.framework.recipes.queue.ErrorMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitOnBarrier() - Method in class com.netflix.curator.framework.recipes.barriers.DistributedBarrier
Blocks until the barrier node comes into existence
waitOnBarrier(long, TimeUnit) - Method in class com.netflix.curator.framework.recipes.barriers.DistributedBarrier
Blocks until the barrier node comes into existence or the timeout elapses
writeLock() - Method in class com.netflix.curator.framework.recipes.locks.InterProcessReadWriteLock
Returns the lock used for writing.

A B C D E F G H I L M N P Q R S T V W

Copyright © 2012. All Rights Reserved.