Package com.atlassian.event.internal
Class DirectEventExecutorFactory
java.lang.Object
com.atlassian.event.internal.AbstractEventExecutorFactory
com.atlassian.event.internal.DirectEventExecutorFactory
- All Implemented Interfaces:
EventExecutorFactory
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.
- Since:
- 2.1
-
Constructor Summary
ConstructorsConstructorDescriptionDirectEventExecutorFactory(EventThreadPoolConfiguration configuration) DirectEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory) -
Method Summary
Methods inherited from class com.atlassian.event.internal.AbstractEventExecutorFactory
getExecutor
-
Constructor Details
-
DirectEventExecutorFactory
public DirectEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory) -
DirectEventExecutorFactory
-
-
Method Details
-
getQueue
- Specified by:
getQueuein classAbstractEventExecutorFactory- Returns:
- a new
SynchronousQueue<Runnable>
-