// to sync enqueue (enqueue by caller thread is the same as sync enqueue)
ThreadPoolExecutor executor = new ThreadPoolExecutor(asyncWorkers, asyncWorkers, 60, TimeUnit.SECONDS,
new ArrayBlockingQueue<Runnable>(asyncQueueSize),
Threads.createDaemonThreadFactory("async-exec-%d"),
createAsyncRejectedExecutionHandler());
executor.allowCoreThreadTimeOut(true);
asyncExecutor = executor;
}
@Override
public void destroy(HandlerContext context) {