Class SameThreadExecutorService.ImpostorScheduledFuture<T>

java.lang.Object
org.openhab.core.util.SameThreadExecutorService.ImpostorScheduledFuture<T>
Type Parameters:
T - the return type.
All Implemented Interfaces:
Comparable<Delayed>, Delayed, Future<T>, ScheduledFuture<T>
Enclosing class:
SameThreadExecutorService

protected static class SameThreadExecutorService.ImpostorScheduledFuture<T> extends Object implements ScheduledFuture<T>
A ScheduledFuture that wraps a Future and always reports zero delay.
Author:
Ravi Nadahar - Initial contribution