Class EventQueueFettler
- java.lang.Object
-
- com.atlassian.confluence.test.rpc.EventQueueFettler
-
- All Implemented Interfaces:
com.atlassian.plugin.StateAware
public class EventQueueFettler extends Object implements com.atlassian.plugin.StateAware
This component attempts to tightly control the thread pool executor used by the Confluence event dispatcher mechanism. By reducing the number of event threads to 1, in theory it improves the reliability of tests which wait for events to occur (e.g. mail sending tests)- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description EventQueueFettler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disabled()
void
enabled()
void
setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
void
setEventDispatcherTarget(ConfluenceEventDispatcher eventDispatcherTarget)
-
-
-
Method Detail
-
setEventDispatcherTarget
public void setEventDispatcherTarget(ConfluenceEventDispatcher eventDispatcherTarget)
-
setDarkFeaturesManager
public void setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
-
enabled
public void enabled()
- Specified by:
enabled
in interfacecom.atlassian.plugin.StateAware
-
disabled
public void disabled()
- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
-
-