Interface Scheduler


  • @NonNullByDefault
    public interface Scheduler
    A Scheduler service provides timed semantics to CompletableFutures. A Scheduler can delay a CompletableFutures, it can resolve a CompletableFutures at a certain time, or it can provide a timeout to a CompletableFutures.

    This scheduler has a millisecond resolution.

    Author:
    Peter Kriens - Initial contribution, Simon Kaufmann - adapted to CompletableFutures, Hilbrand Bouwkamp - Initial contribution