public class UnboundedEventExecutorFactory extends AbstractEventExecutorFactory
Uses a LinkedBlockingQueue to hand off tasks to the Executor. Will cause new tasks to wait in the queue when all threads are busy.
See ThreadPoolExecutor for more information.
| Constructor and Description |
|---|
UnboundedEventExecutorFactory(EventThreadPoolConfiguration configuration) |
UnboundedEventExecutorFactory(EventThreadPoolConfiguration configuration,
EventThreadFactory eventThreadFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected BlockingQueue<Runnable> |
getQueue() |
getExecutorpublic UnboundedEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)
public UnboundedEventExecutorFactory(EventThreadPoolConfiguration configuration)
protected BlockingQueue<Runnable> getQueue()
getQueue in class AbstractEventExecutorFactoryBlockingQueue<Runnable> for the construction of a new ExecutorCopyright © 2006-2017 Atlassian. All Rights Reserved.