Package com.atlassian.confluence.event
Class ConfluencePoolBasedEventExecutorFactory
- java.lang.Object
-
- com.atlassian.event.internal.AbstractEventExecutorFactory
-
- com.atlassian.event.internal.DirectEventExecutorFactory
-
- com.atlassian.confluence.event.ConfluencePoolBasedEventExecutorFactory
-
- All Implemented Interfaces:
com.atlassian.event.spi.EventExecutorFactory
@Deprecated public class ConfluencePoolBasedEventExecutorFactory extends com.atlassian.event.internal.DirectEventExecutorFactory
Deprecated.since 8.3 Replaced byThreadPoolEventExecutorFactory
Uses a
ThreadPoolExecutor.CallerRunsPolicy
for running threads in case if queue is full- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description ConfluencePoolBasedEventExecutorFactory(com.atlassian.event.config.EventThreadPoolConfiguration configuration, com.atlassian.event.internal.EventThreadFactory eventThreadFactory, RejectedExecutionHandler rejectedExecutionHandler)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ThreadPoolExecutor
getExecutor()
Deprecated.protected BlockingQueue<Runnable>
getQueue()
Deprecated.RejectedExecutionHandler
getRejectedExecutionHandler()
Deprecated.
-
-
-
Constructor Detail
-
ConfluencePoolBasedEventExecutorFactory
public ConfluencePoolBasedEventExecutorFactory(com.atlassian.event.config.EventThreadPoolConfiguration configuration, com.atlassian.event.internal.EventThreadFactory eventThreadFactory, RejectedExecutionHandler rejectedExecutionHandler)
Deprecated.
-
-
Method Detail
-
getQueue
protected BlockingQueue<Runnable> getQueue()
Deprecated.- Overrides:
getQueue
in classcom.atlassian.event.internal.DirectEventExecutorFactory
-
getExecutor
public ThreadPoolExecutor getExecutor()
Deprecated.- Specified by:
getExecutor
in interfacecom.atlassian.event.spi.EventExecutorFactory
- Overrides:
getExecutor
in classcom.atlassian.event.internal.AbstractEventExecutorFactory
-
getRejectedExecutionHandler
public RejectedExecutionHandler getRejectedExecutionHandler()
Deprecated.
-
-