- private static final PriorityBlockingQueue<Runnable> BLOCKING_QUEUE =
- new PriorityBlockingQueue<Runnable>(QUEUE_CAPACITY, new CFRunnableComparator());
- public static ExecutorService executorService =
- new ThreadPoolExecutor(EXECUTOR_SIZE, EXECUTOR_MAX_SIZE, KEEPALIVE_TIME, TimeUnit.SECONDS, BLOCKING_QUEUE);
+ private static final PriorityBlockingQueue<Runnable> BLOCKING_QUEUE = new PriorityBlockingQueue<Runnable>(
+ QUEUE_CAPACITY, new CFRunnableComparator());
+ private static ExecutorService executorService = new ThreadPoolExecutor(EXECUTOR_SIZE, EXECUTOR_MAX_SIZE,
+ KEEPALIVE_TIME, TimeUnit.SECONDS, BLOCKING_QUEUE);