public final class OrderedExecutorFactory extends Object implements ExecutorFactory
Constructor and Description |
---|
OrderedExecutorFactory(Executor parent)
Construct a new instance delegating to the given parent executor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
flushExecutor(Executor executor) |
static boolean |
flushExecutor(Executor executor,
long timeout,
TimeUnit unit) |
ArtemisExecutor |
getExecutor()
Get an executor that always executes tasks in order.
|
Executor |
getParent()
I couldn't figure out how to make a new method to return a generic Actor with a given type
|
public OrderedExecutorFactory(Executor parent)
parent
- the parent executorpublic static boolean flushExecutor(Executor executor)
public ArtemisExecutor getExecutor()
getExecutor
in interface ExecutorFactory
public Executor getParent()
Copyright © 2018 JBoss by Red Hat. All rights reserved.