Class IpdExecutors

java.lang.Object
com.atlassian.jira.ipd.IpdExecutors

public class IpdExecutors extends Object
This class is responsible for creating executors used by IPD and closing them on Jira shutdown.
Since:
9.11
  • Constructor Details

    • IpdExecutors

      public IpdExecutors(com.atlassian.event.api.EventPublisher eventPublisher)
  • Method Details

    • createSingleTaskExecutorService

      public ExecutorService createSingleTaskExecutorService(String threadName)
      Returns:
      ExecutorService with a single thread that will reject submitting new task when a task is already being processed.
    • createSingleThreadScheduledExecutorService

      public ScheduledExecutorService createSingleThreadScheduledExecutorService(String threadName)
      Returns:
      ScheduledExecutorService with a single thread.
    • onComponentManagerShutdownEvent

      @EventListener public void onComponentManagerShutdownEvent(ComponentManagerShutdownEvent event)