| Modifier and Type | Field and Description |
|---|---|
| public final InterruptionChecker |
| Access | Constructor and Description |
|---|---|
| public | AutoCloseableExecutorService(final int
The number of threads to allocate. numThreads)A ThreadPoolExecutor that can be used in a try-with-resources block. |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterExecute(final Runnable
the Runnable runnable, final Throwable the Throwable throwable)Overrides java. Catch exceptions from both submit() and execute(), and call |
| public void | close()
Overrides default java. Implements java. Shut down thread pool on close(). |
| interruptionChecker | back to summary |
|---|---|
| public final InterruptionChecker interruptionChecker The | |
| AutoCloseableExecutorService | back to summary |
|---|---|
| public AutoCloseableExecutorService(final int numThreads) A ThreadPoolExecutor that can be used in a try-with-resources block.
| |
| afterExecute | back to summary |
|---|---|
| public void afterExecute(final Runnable runnable, final Throwable throwable) Overrides java. Catch exceptions from both submit() and execute(), and call | |
| close | back to summary |
|---|---|
| public void close() Overrides default java. Implements java. Shut down thread pool on close().
| |