Interface Task

    • Method Detail

      • deadline

        long deadline()
        Returns:
        the deadline at which the handler associated with the scheduled task should be delivered a Event.Type.TIMER_TASK event.
      • getReactor

        Reactor getReactor()
        Returns:
        the reactor that created this task.
      • cancel

        void cancel()
        Cancel the execution of this task. No-op if invoked after the task was already executed.