Interface CancelableSchedulerAbstraction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Scheduling interface which provides a command to cancel a scheduled task.
-
Method Summary
-
Method Details
-
schedule
Schedule a task to run after a timeout.- Returns:
- a
Runnable
that will cancel the scheduled task
-