|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.utils.OrderedExecutorFactory
public final class OrderedExecutorFactory
A factory for producing executors that run all tasks in order, which delegate to a single common executor instance.
Constructor Summary | |
---|---|
OrderedExecutorFactory(java.util.concurrent.Executor parent)
Construct a new instance delegating to the given parent executor. |
Method Summary | |
---|---|
java.util.concurrent.Executor |
getExecutor()
Get an executor that always executes tasks in order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderedExecutorFactory(java.util.concurrent.Executor parent)
parent
- the parent executorMethod Detail |
---|
public java.util.concurrent.Executor getExecutor()
getExecutor
in interface ExecutorFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |