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 |
---|---|
Executor |
getExecutor()
Get an executor that always executes tasks in order.
|
public OrderedExecutorFactory(Executor parent)
parent
- the parent executorpublic Executor getExecutor()
getExecutor
in interface ExecutorFactory
Copyright © 2016 The Apache Software Foundation. All rights reserved.