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
Constructors Constructor Description ConfluenceEventDispatcher(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Executor
getAsynchronousExecutor()
Executor
getInternalExecutor()
-
-
-
Constructor Detail
-
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
-
-