com.netflix.curator.framework.recipes.queue
Class QueueSafety<T>
java.lang.Object
com.netflix.curator.framework.recipes.queue.QueueSafety<T>
public class QueueSafety<T>
- extends Object
Parameter block for specifying queue safety with either DistributedQueue or
DistributedPriorityQueue
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueSafety
public QueueSafety(String lockPath,
QueueConsumer<T> consumer)
- Parameters:
lockPath - ZKPath to use for locking purposesconsumer - the message consumer
Copyright © 2012. All Rights Reserved.