|
||||||||||
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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void setCommandExecutor(CommandExecutor executor)
ExecutorService
setCommandExecutor
in interface ExecutorService
public void startUp()
ExecutorService
startUp
in interface ExecutorService
public void shutDown()
ExecutorService
shutDown
in interface ExecutorService
public 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 |