Package com.atlassian.confluence.event
Class ConfluenceEventDispatcher<C>
java.lang.Object
com.atlassian.event.internal.AsynchronousAbleEventDispatcher
com.atlassian.confluence.event.ConfluenceEventDispatcher<C>
- All Implemented Interfaces:
com.atlassian.event.spi.EventDispatcher
public class ConfluenceEventDispatcher<C>
extends com.atlassian.event.internal.AsynchronousAbleEventDispatcher
Confluence-specific event dispatcher which preserves thread local state across event dispatch threads, and maintains
the VCache request context for the dispatching thread.
Testing visibility is needed for tests which are relying on completion of async events.
- Since:
- 5.5
-
Constructor Summary
ConstructorDescriptionConfluenceEventDispatcher
(com.atlassian.event.spi.EventExecutorFactory executorFactory, com.atlassian.event.internal.AsynchronousEventResolver asynchronousEventResolver, com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager) ConfluenceEventDispatcher
(com.atlassian.event.spi.EventExecutorFactory executorFactory, com.atlassian.event.internal.AsynchronousEventResolver asynchronousEventResolver, com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager, VCacheRequestContextOperations ignored) Deprecated.since 8.0 -
Method Summary
Methods inherited from class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
dispatch, executorFor, getSynchronousExecutor
-
Constructor Details
-
ConfluenceEventDispatcher
public ConfluenceEventDispatcher(com.atlassian.event.spi.EventExecutorFactory executorFactory, com.atlassian.event.internal.AsynchronousEventResolver asynchronousEventResolver, com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager) - Since:
- 8.0
-
ConfluenceEventDispatcher
@Deprecated public ConfluenceEventDispatcher(com.atlassian.event.spi.EventExecutorFactory executorFactory, com.atlassian.event.internal.AsynchronousEventResolver asynchronousEventResolver, com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager, VCacheRequestContextOperations ignored) Deprecated.since 8.0
-
-
Method Details
-
getAsynchronousExecutor
- Overrides:
getAsynchronousExecutor
in classcom.atlassian.event.internal.AsynchronousAbleEventDispatcher
-
getInternalExecutor
-