public interface ArtemisExecutor extends Executor
| Modifier and Type | Method and Description |
|---|---|
static ArtemisExecutor |
delegate(Executor executor)
Artemis is supposed to implement this properly, however in tests or tools
this can be used as a fake, doing a sipmle delegate and using the default methods implemented here.
|
default boolean |
flush() |
default boolean |
flush(long timeout,
TimeUnit unit) |
default boolean |
isFlushed()
This will verify if the executor is flushed with no wait (or very minimal wait if not the
OrderedExecutor |
static ArtemisExecutor delegate(Executor executor)
executor - default boolean flush()
default boolean flush(long timeout,
TimeUnit unit)
default boolean isFlushed()
OrderedExecutorCopyright © 2017 The Apache Software Foundation. All Rights Reserved.