public class

JiraEventExecutorFactory

extends Object
implements EventExecutorFactory
java.lang.Object
   ↳ 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)

Summary

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

Public Constructors

public JiraEventExecutorFactory ()

Public Methods

public Executor getExecutor ()

@EventListener public void shutdown (ComponentManagerShutdownEvent shutdownEvent)

public void shutdown ()