Interface Task

All Known Implementing Classes:
CronTask, InvokeTask, RunnableTask
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Task
定时作业接口,通过实现execute方法执行具体的任务
Since:
Java 17+
Version:
6.5.0
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    执行作业
  • Method Details

    • execute

      void execute()
      执行作业