public interface ThreadPool
ExecutorService| Modifier and Type | Interface and Description |
|---|---|
static class |
ThreadPool.PoolPolicy
The policy for dealing with thread pools.
|
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown()
Shuts down all worker threads, but waits for any queued queries to be processed.
|
void |
shutdownNow()
Shuts down all worker threads, and attempts to abort any query processing currently taking place.
|
void shutdown()
ExecutorService.shutdown()void shutdownNow()
ExecutorService.shutdownNow()Copyright © 2020. All rights reserved.