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 Details

    • EventQueueFettler

      public EventQueueFettler()
  • Method Details

    • setEventDispatcherTarget

      public void setEventDispatcherTarget(ConfluenceEventDispatcher eventDispatcherTarget)
    • setDarkFeaturesManager

      public void setDarkFeaturesManager(DarkFeaturesManager darkFeaturesManager)
    • enabled

      public void enabled()
      Specified by:
      enabled in interface com.atlassian.plugin.StateAware
    • disabled

      public void disabled()
      Specified by:
      disabled in interface com.atlassian.plugin.StateAware