|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.event.internal.AbstractEventExecutorFactory
com.atlassian.event.internal.DirectEventExecutorFactory
public class DirectEventExecutorFactory
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.
| Constructor Summary | |
|---|---|
DirectEventExecutorFactory(EventThreadPoolConfiguration configuration)
|
|
DirectEventExecutorFactory(EventThreadPoolConfiguration configuration,
EventThreadFactory eventThreadFactory)
|
|
| Method Summary | |
|---|---|
protected java.util.concurrent.BlockingQueue<java.lang.Runnable> |
getQueue()
|
| Methods inherited from class com.atlassian.event.internal.AbstractEventExecutorFactory |
|---|
getExecutor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectEventExecutorFactory(EventThreadPoolConfiguration configuration,
EventThreadFactory eventThreadFactory)
public DirectEventExecutorFactory(EventThreadPoolConfiguration configuration)
| Method Detail |
|---|
protected java.util.concurrent.BlockingQueue<java.lang.Runnable> getQueue()
getQueue in class AbstractEventExecutorFactorySynchronousQueue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||