-
- All Known Subinterfaces:
ParallelAdaptiveOracle<I,O>,ParallelOmegaOracle<S,I,D>,ParallelOracle<I,D>
- All Known Implementing Classes:
AbstractDynamicBatchProcessor,AbstractStaticBatchProcessor,DynamicParallelAdaptiveOracle,DynamicParallelOmegaOracle,DynamicParallelOracle,StaticParallelAdaptiveOracle,StaticParallelOmegaOracle,StaticParallelOracle
public interface ThreadPoolA markup interface for a component that manages a pool of threads that may want to be shut down after usage.- See Also:
ExecutorService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classThreadPool.PoolPolicyThe policy for dealing with thread pools.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidshutdown()Shuts down all worker threads, but waits for any queued queries to be processed.voidshutdownNow()Shuts down all worker threads, and attempts to abort any query processing currently taking place.
-
-
-
Method Detail
-
shutdown
void shutdown()
Shuts down all worker threads, but waits for any queued queries to be processed.- See Also:
ExecutorService.shutdown()
-
shutdownNow
void shutdownNow()
Shuts down all worker threads, and attempts to abort any query processing currently taking place.- See Also:
ExecutorService.shutdownNow()
-
-