public BasicThreadPool(String name, ThreadGroup threadGroup)
{
trace = log.isTraceEnabled();
ThreadFactory factory = new ThreadPoolThreadFactory();
queue = new LinkedBlockingQueue(1024);
executor = new RestoreTCCLThreadPoolExecutor(4, 4, 60, TimeUnit.SECONDS, queue);
executor.setThreadFactory(factory);
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.AbortPolicy());