public ExclusiveExecutor(int _threadCount, String _threadNamePrefix) { final int _corePoolThreadSize = 0; threadPoolExecutor = new ThreadPoolExecutor(_corePoolThreadSize, _threadCount, 21, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), HeapCache.TUNABLE.threadFactoryProvider.newThreadFactory(_threadNamePrefix), new ThreadPoolExecutor.AbortPolicy()); }
public ExclusiveExecutor(int _threadCount, String _threadNamePrefix) { final int _corePoolThreadSize = 0; threadPoolExecutor = new ThreadPoolExecutor(_corePoolThreadSize, _threadCount, 21, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), HeapCache.TUNABLE.threadFactoryProvider.newThreadFactory(_threadNamePrefix), new ThreadPoolExecutor.AbortPolicy()); }