Package nxt.util

Class QueuedThreadPool

All Implemented Interfaces:
Executor, ExecutorService

public class QueuedThreadPool extends ThreadPoolExecutor
QueuedThreadPool creates threads to process requests until the maximum pool size is reached. Additional requests are queued until a thread becomes available. Threads that are idle for 60 seconds are terminated if the pool size is greater than the core size.