public class


extends Object
implements EventExecutorFactory
   ↳ com.atlassian.jira.event.JiraEventExecutorFactory

Class Overview

This is a thread pool for async events. The pool is configured with:

  • Maximum of 5 threads.
  • Timeout after 60 seconds for idle threads.
  • Only daemon threads.
  • Caller runs the the code when threads are busy (i.e. nothing is queued)
  • Caller runs the the code when the pool is shutdown (i.e. events still get delivered during shutdown)


Public Constructors
Public Methods
Executor getExecutor()
void shutdown()
@EventListener void shutdown(ComponentManagerShutdownEvent shutdownEvent)
Inherited Methods
From class java.lang.Object
From interface com.atlassian.event.spi.EventExecutorFactory

Public Constructors

public JiraEventExecutorFactory ()

Public Methods

public Executor getExecutor ()

public void shutdown ()

@EventListener public void shutdown (ComponentManagerShutdownEvent shutdownEvent)