@Override
    public Iterator<TimerTask> iterator() {
        return new Itr(root.next);
    }
Using Iterator is not thread safe.

@return an Iterator.
shenyu-common/src/main/java/org/apache/shenyu/common/timer/TimerTaskList.java