@Beta protected static final class AbstractScheduledService.CustomScheduler.Schedule extends Object
A value object that represents an absolute delay until a task should be invoked.
public Schedule(long delay, TimeUnit unit)
delay
- the time from now to delay executionunit
- the time unit of the delay parameter