Interface SimpleProcessingScheduleService.ScheduledTask

Enclosing interface:
SimpleProcessingScheduleService
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 static interface SimpleProcessingScheduleService.ScheduledTask
A task scheduled by SimpleProcessingScheduleService to give the caller control over the task, i.e. for cancellation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels the scheduled execution of this task.
  • Method Details

    • cancel

      void cancel()
      Cancels the scheduled execution of this task.