Class AbstractScheduledService.CustomScheduler.Schedule
- java.lang.Object
- 
- com.google.common.util.concurrent.AbstractScheduledService.CustomScheduler.Schedule
 
- 
- Enclosing class:
- AbstractScheduledService.CustomScheduler
 
 protected static final class AbstractScheduledService.CustomScheduler.Schedule extends java.lang.Object A value object that represents an absolute delay until a task should be invoked.- Since:
- 11.0
- Author:
- Luke Sandberg
 
- 
- 
Constructor Detail- 
Schedulepublic Schedule(long delay, java.util.concurrent.TimeUnit unit) - Parameters:
- delay- the time from now to delay execution
- unit- the time unit of the delay parameter
 
 - 
Schedulepublic Schedule(java.time.Duration delay) - Parameters:
- delay- the time from now to delay execution
- Since:
- 31.1
 
 
- 
 
-