public class

DirectEventExecutorFactory

extends AbstractEventExecutorFactory
java.lang.Object
   ↳ com.atlassian.event.internal.AbstractEventExecutorFactory
     ↳ com.atlassian.event.internal.DirectEventExecutorFactory
Known Direct Subclasses

Class Overview

Uses a SynchronousQueue to hand off tasks to the Executor. An attempt to to queue a task will fail if no threads are immediately available to run it

See ThreadPoolExecutor for more information.

Summary

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

Public Constructors

public DirectEventExecutorFactory (EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)

public DirectEventExecutorFactory (EventThreadPoolConfiguration configuration)

Protected Methods

protected BlockingQueue<Runnable> getQueue ()

Returns
  • a new SynchronousQueue