public abstract class

AbstractEventExecutorFactory

extends Object
implements EventExecutorFactory
java.lang.Object
   ↳ com.atlassian.event.internal.AbstractEventExecutorFactory
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

A EventExecutorFactory that allows the Executor to be produced with a custom BlockingQueue

Summary

Public Constructors
AbstractEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)
AbstractEventExecutorFactory(EventThreadPoolConfiguration configuration)
Public Methods
Executor getExecutor()
Protected Methods
abstract BlockingQueue<Runnable> getQueue()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.event.spi.EventExecutorFactory

Public Constructors

public AbstractEventExecutorFactory (EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)

public AbstractEventExecutorFactory (EventThreadPoolConfiguration configuration)

Public Methods

public Executor getExecutor ()

Protected Methods

protected abstract BlockingQueue<Runnable> getQueue ()

Returns
  • a new BlockingQueue for the construction of a new Executor