protected static final class AbstractScheduledService.CustomScheduler.Schedule
extends java.lang.Object
public Schedule(long delay, java.util.concurrent.TimeUnit unit)
delay
- the time from now to delay executionunit
- the time unit of the delay parameterpublic Schedule(java.time.Duration delay)
delay
- the time from now to delay execution