Interface Destroyable
- All Known Implementing Classes:
AbstractThreadPoolStrategy,InvokerStrategy,NonSharedThreadPoolStrategy,SchedulingStrategy,SharedThreadPoolStrategy
public interface Destroyable
Destroys the embedded thread-pool.
- Since:
- 2.18
- See Also:
-
Method Summary
-
Method Details
-
destroy
boolean destroy()CallingThreadPoolExecutor.shutdown()andThreadPoolExecutor.awaitTermination(long, java.util.concurrent.TimeUnit).- Returns:
trueif not interrupted in current thread
-