public long nextExecution() {
            return nextExecution.get();
        }
If this task is periodic, reschedule it and return true. Otherwise, do nothing and return false.
server-common/src/test/java/org/apache/kafka/server/util/MockScheduler.java