public BlockingTaskExecutorBuilder priority(int priority) {
        checkArgument(priority >= Thread.MIN_PRIORITY && priority <= Thread.MAX_PRIORITY,
                      "priority: %s (expected: Thread.MIN_PRIORITY <= priority <= Thread.MAX_PRIORITY)",
                      priority);

        this.priority = priority;
        return this;
    }
Sets the priority for new threads.
core/src/main/java/com/linecorp/armeria/common/util/BlockingTaskExecutorBuilder.java