|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExecutorService
This class instance is configed by the RuleBaseConfiguration and is responsible for thread management of the async services.
| Method Summary | |
|---|---|
void |
setCommandExecutor(CommandExecutor executor)
The CommandExecutor is a producer/consumer style class that handles the queue and execution of the async actions |
void |
shutDown()
Shutdown this ExecutorService |
void |
startUp()
Startup this ExecutorService, typically called on first submit for lazy startup. |
Future |
submit(Command command)
Submit a command for execution, adds it ot the commandExecutor's queue |
| Methods inherited from interface java.io.Externalizable |
|---|
readExternal, writeExternal |
| Method Detail |
|---|
void setCommandExecutor(CommandExecutor executor)
executor - Future submit(Command command)
command -
void shutDown()
void startUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||