static <T> QueueBuilder<T> |
QueueBuilder.builder(org.apache.curator.framework.CuratorFramework client,
QueueConsumer<T> consumer,
QueueSerializer<T> serializer,
java.lang.String queuePath) |
Allocate a new builder
|
QueueBuilder<T> |
QueueBuilder.executor(java.util.concurrent.Executor executor) |
Change the executor used.
|
QueueBuilder<T> |
QueueBuilder.finalFlushTime(int time,
java.util.concurrent.TimeUnit unit) |
|
QueueBuilder<T> |
QueueBuilder.lockPath(java.lang.String path) |
Without a lock set, queue items are removed before being sent to the queue consumer.
|
QueueBuilder<T> |
QueueBuilder.maxItems(int maxItems) |
By default, the various queues are unbounded.
|
QueueBuilder<T> |
QueueBuilder.putInBackground(boolean putInBackground) |
By default, messages are added in the background.
|
QueueBuilder<T> |
QueueBuilder.threadFactory(java.util.concurrent.ThreadFactory factory) |
Change the thread factory used.
|