Class QueueSafety<T>
- java.lang.Object
-
- org.apache.curator.framework.recipes.queue.QueueSafety<T>
-
public class QueueSafety<T> extends java.lang.ObjectParameter block for specifying queue safety with eitherDistributedQueueorDistributedPriorityQueue
-
-
Constructor Summary
Constructors Constructor Description QueueSafety(java.lang.String lockPath, QueueConsumer<T> consumer)
-
-
-
Constructor Detail
-
QueueSafety
public QueueSafety(java.lang.String lockPath, QueueConsumer<T> consumer)- Parameters:
lockPath- ZKPath to use for locking purposesconsumer- the message consumer
-
-