Interface SchedulerAbstraction
-
- 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 SchedulerAbstraction
Scheduling interface useful for unit testing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
schedule(java.lang.Runnable task, long timeout, java.util.concurrent.TimeUnit unit)
Schedule a task to run after a timeout.
-