Thread (final @NotNull Runnable r) { Thread thread = myThreadFactory.newThread(r); thread.setName(POOLED_THREAD_PREFIX + counter.incrementAndGet()); thread.setPriority(Thread.NORM_PRIORITY - 1); return thread; }