public class DirectEventExecutorFactory extends AbstractEventExecutorFactory
Uses a SynchronousQueue to hand off tasks to the Executor. An attempt to to queue a task will fail if no threads are immediately available to run it
See ThreadPoolExecutor for more information.
| Constructor and Description |
|---|
DirectEventExecutorFactory(EventThreadPoolConfiguration configuration) |
DirectEventExecutorFactory(EventThreadPoolConfiguration configuration,
EventThreadFactory eventThreadFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected BlockingQueue<Runnable> |
getQueue() |
getExecutorpublic DirectEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)
public DirectEventExecutorFactory(EventThreadPoolConfiguration configuration)
protected BlockingQueue<Runnable> getQueue()
getQueue in class AbstractEventExecutorFactorySynchronousQueue<Runnable>Copyright © 2006-2016 Atlassian. All Rights Reserved.