|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.concurrent.DefaultExecutorService
public class DefaultExecutorService
| Constructor Summary | |
|---|---|
DefaultExecutorService()
|
|
| Method Summary | |
|---|---|
void |
readExternal(ObjectInput in)
|
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 |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExecutorService()
| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void setCommandExecutor(CommandExecutor executor)
ExecutorService
setCommandExecutor in interface ExecutorServicepublic void startUp()
ExecutorService
startUp in interface ExecutorServicepublic void shutDown()
ExecutorService
shutDown in interface ExecutorServicepublic Future submit(Command command)
ExecutorService
submit in interface ExecutorService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||