Package org.openhab.core.scheduler
Interface ScheduledCompletableFuture<T>
- All Superinterfaces:
- Comparable<Delayed>,- Delayed,- Future<T>,- ScheduledFuture<T>
Interface returned by all scheduled jobs. It can be used to wait for the value,
 cancel the job or check how much time till the scheduled job will run.
- Author:
- Hilbrand Bouwkamp - Initial contribution
- 
Nested Class SummaryNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Method SummaryModifier and TypeMethodDescriptionMethods inherited from interface java.lang.ComparablecompareToMethods inherited from interface java.util.concurrent.Futurecancel, exceptionNow, get, get, isCancelled, isDone, resultNow, state
- 
Method Details- 
getPromiseCompletableFuture<T> getPromise()- Returns:
- Returns the CompletableFutureassociated with the scheduled job.
 
- 
getScheduledTimeZonedDateTime getScheduledTime()- Returns:
- Returns the timestamp the jobs is scheduled to run at.
 
 
-