Package com.atlassian.event.internal
Class AbstractEventExecutorFactory
java.lang.Object
com.atlassian.event.internal.AbstractEventExecutorFactory
- All Implemented Interfaces:
EventExecutorFactory
- Direct Known Subclasses:
DirectEventExecutorFactory,UnboundedEventExecutorFactory
- Since:
- 2.1
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEventExecutorFactory(EventThreadPoolConfiguration configuration) protectedAbstractEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory) -
Method Summary
-
Constructor Details
-
AbstractEventExecutorFactory
protected AbstractEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory) -
AbstractEventExecutorFactory
-
-
Method Details
-
getQueue
- Returns:
- a new
BlockingQueue<Runnable>for the construction of a newExecutor
-
getExecutor
- Specified by:
getExecutorin interfaceEventExecutorFactory- Returns:
- a new
Executor
-