private void orderlyThreadPool(final boolean isOrderly, final int corePoolSize, final ThreadFactory threadFactory) {
        if (isOrderly) {
            IntStream.range(0, corePoolSize).forEach(index -> {
                SingletonExecutor singletonExecutor = new SingletonExecutor(threadFactory);
                String hash = singletonExecutor.hashCode() + ":" + index;
                byte[] bytes = threadSelector.sha(hash);
                for (int i = 0; i < 4; i++) {
                    this.virtualExecutors.put(threadSelector.hash(bytes, i), singletonExecutor);
                }
            });
        }
    }
Instantiates a new Orderly executor.

@param corePoolSize    the core pool size
@param maximumPoolSize the maximum pool size
@param keepAliveTime   the keep alive time
@param unit            the unit
@param workQueue       the work queue
@param threadFactory   the thread factory
@param handler         the handler
@param isOrderly the orderly Whether to execute sequentially.
shenyu-disruptor/src/main/java/org/apache/shenyu/disruptor/thread/OrderlyExecutor.java