public static class QueueExecutor.Builder<T> extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
QueueExecutor<T> |
build() |
QueueExecutor.Builder |
withCheckQueueInterval(long checkQueueInterval) |
QueueExecutor.Builder |
withQueue(Queue<T> queue) |
QueueExecutor.Builder |
withRunnableCreator(QueueExecutor.RunnableCreator<T> runnableCreator) |
QueueExecutor.Builder |
withThreadPoolSize(int threadPoolSize) |
public QueueExecutor.Builder withQueue(Queue<T> queue)
public QueueExecutor.Builder withRunnableCreator(QueueExecutor.RunnableCreator<T> runnableCreator)
public QueueExecutor.Builder withCheckQueueInterval(long checkQueueInterval)
public QueueExecutor.Builder withThreadPoolSize(int threadPoolSize)
public QueueExecutor<T> build()
Copyright © 2015. All rights reserved.