类 Task

  • 直接已知子类:
    IntervalTask, TriggerTask

    public class Task
    extends Object
    Holder class defining a Runnable to be executed as a task, typically at a scheduled time or interval. See subclass hierarchy for various scheduling approaches.
    从以下版本开始:
    3.2
    作者:
    Chris Beams
    • 构造器详细资料

      • Task

        public Task​(Runnable runnable)
        Create a new Task.
        参数:
        runnable - the underlying task to execute.