public class

UnboundedEventExecutorFactory

extends AbstractEventExecutorFactory
java.lang.Object
   ↳ com.atlassian.event.internal.AbstractEventExecutorFactory
     ↳ com.atlassian.event.internal.UnboundedEventExecutorFactory

Class Overview

Uses a LinkedBlockingQueue to hand off tasks to the Executor. Will cause new tasks to wait in the queue when all threads are busy.

See ThreadPoolExecutor for more information.

Summary

Public Constructors
UnboundedEventExecutorFactory(EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)
UnboundedEventExecutorFactory(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 UnboundedEventExecutorFactory (EventThreadPoolConfiguration configuration, EventThreadFactory eventThreadFactory)

public UnboundedEventExecutorFactory (EventThreadPoolConfiguration configuration)

Protected Methods

protected BlockingQueue<Runnable> getQueue ()

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