public interface StoppableExecutor extends AsyncStoppable, 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,
TimeUnit timeoutUnits)
Stops accepting new jobs and blocks until all currently executing jobs have been completed.
|
requestStopvoid stop()
void stop(int timeoutValue,
TimeUnit timeoutUnits)
throws IllegalStateException
IllegalStateException - on timeout.Copyright © 2013. All rights reserved