boolean add(final TimerTaskList.TimerTaskEntry taskEntry) {
        Long expirationMs = taskEntry.getExpirationMs();
        if (taskEntry.cancelled()) {
            return false;
        }
        if (expirationMs < currentTime + tickMs) {
            return false;
        }
        if (expirationMs < currentTime + interval) {
            //Put in its own bucket
            long virtualId = expirationMs / tickMs;
            int index = (int) (virtualId % wheelSize);
            TimerTaskList bucket = this.getBucket(index);
            bucket.add(taskEntry);
            if (bucket.setExpiration(virtualId * tickMs)) {
                queue.offer(bucket);
            }
            return true;
        }
        if (Objects.isNull(overflowWheel)) {
            addOverflowWheel();
        }
        return overflowWheel.add(taskEntry);
    }
Add boolean.

@param taskEntry the task entry
@return the boolean
shenyu-common/src/main/java/org/apache/shenyu/common/timer/TimingWheel.java