public interface Executor
Modifier and Type | Method and Description |
---|---|
ExecutorNode |
createNode(Runnable command)
Create a node that can be passed to execute.
|
void |
execute(ExecutorNode executorNode)
Execute a command via a thread.
|
void |
stop()
Stop the executor.
|
ExecutorNode createNode(Runnable command)
command
- void execute(ExecutorNode executorNode)
executorNode
- The ExecutorNode created by createNode.void stop()
Copyright © 2014. All Rights Reserved.