public interface IExecutorThread
Modifier and Type | Method and Description |
---|---|
void |
shutItDown()
When a class implementing this interface is run by an Executor,
eventually a Commander may want to stop it.
|
void |
startItUp()
When a class implementing this interface is run by an Executor,
it calls this method to do so.
|
void |
waitUntilDone()
When a class implementing this interface is run by an Executor,
a Commander may want to wait until it finished running.
|
void startItUp()
void shutItDown()
void waitUntilDone() throws java.lang.InterruptedException
java.lang.InterruptedException
- if thread interrupted.