private static class TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V> extends AbstractFuture<V> implements ListenableScheduledFuture<V>
Modifier | Constructor and Description |
---|---|
private |
NeverScheduledFuture() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.util.concurrent.Delayed other) |
(package private) static <V> TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V> |
create() |
long |
getDelay(java.util.concurrent.TimeUnit unit) |
addListener, afterDone, cancel, get, get, interruptTask, isCancelled, isDone, pendingToString, set, setException, setFuture, toString, wasInterrupted
addCallback, catching, catchingAsync, from, transform, transformAsync, withTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener
static <V> TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V> create()
public long getDelay(java.util.concurrent.TimeUnit unit)
getDelay
in interface java.util.concurrent.Delayed
public int compareTo(java.util.concurrent.Delayed other)
compareTo
in interface java.lang.Comparable<java.util.concurrent.Delayed>