org.apache.curator.framework.recipes.queue
Class QueueSafety<T>

java.lang.Object
  extended by org.apache.curator.framework.recipes.queue.QueueSafety<T>

public class QueueSafety<T>
extends Object

Parameter block for specifying queue safety with either DistributedQueue or DistributedPriorityQueue


Constructor Summary
QueueSafety(String lockPath, QueueConsumer<T> consumer)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueSafety

public QueueSafety(String lockPath,
                   QueueConsumer<T> consumer)
Parameters:
lockPath - ZKPath to use for locking purposes
consumer - the message consumer


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.