Class TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V>
- java.lang.Object
-
- com.google.common.util.concurrent.internal.InternalFutureFailureAccess
-
- com.google.common.util.concurrent.AbstractFuture<V>
-
- com.google.common.util.concurrent.testing.TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V>
-
- All Implemented Interfaces:
ListenableFuture<V>
,ListenableScheduledFuture<V>
,java.lang.Comparable<java.util.concurrent.Delayed>
,java.util.concurrent.Delayed
,java.util.concurrent.Future<V>
,java.util.concurrent.ScheduledFuture<V>
- Enclosing class:
- TestingExecutors.NoOpScheduledExecutorService
private static class TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V> extends AbstractFuture<V> implements ListenableScheduledFuture<V>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NeverScheduledFuture()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.util.concurrent.Delayed other)
(package private) static <V> TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V>
create()
long
getDelay(java.util.concurrent.TimeUnit unit)
-
Methods inherited from class com.google.common.util.concurrent.AbstractFuture
addListener, afterDone, cancel, get, get, interruptTask, isCancelled, isDone, pendingToString, set, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.common.util.concurrent.ListenableFuture
addListener
-
-
-
-
Method Detail
-
create
static <V> TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V> create()
-
getDelay
public long getDelay(java.util.concurrent.TimeUnit unit)
- Specified by:
getDelay
in interfacejava.util.concurrent.Delayed
-
compareTo
public int compareTo(java.util.concurrent.Delayed other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<V>
-
-