public interface StoppableExecutor extends AsyncStoppable, java.util.concurrent.Executor
| Modifier and Type | Method and Description |
|---|---|
void |
stop()
Stops accepting new jobs and blocks until all currently executing jobs have been completed.
|
void |
stop(int timeoutValue,
java.util.concurrent.TimeUnit timeoutUnits)
Stops accepting new jobs and blocks until all currently executing jobs have been completed.
|
requestStopvoid stop()
void stop(int timeoutValue,
java.util.concurrent.TimeUnit timeoutUnits)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - on timeout.Copyright © 2013. All rights reserved