Class SameThreadScheduledExecutorService.ImmediateScheduledFuture<V>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.util.concurrent.ForwardingFuture<V>
com.google.common.util.concurrent.ForwardingListenableFuture<V>
com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture<V>
com.google.common.util.concurrent.testing.SameThreadScheduledExecutorService.ImmediateScheduledFuture<V>
- All Implemented Interfaces:
ListenableFuture<V>,ListenableScheduledFuture<V>,Comparable<Delayed>,Delayed,Future<V>,ScheduledFuture<V>
- Enclosing class:
- SameThreadScheduledExecutorService
private static class SameThreadScheduledExecutorService.ImmediateScheduledFuture<V>
extends ForwardingListenableFuture.SimpleForwardingListenableFuture<V>
implements ListenableScheduledFuture<V>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.util.concurrent.ForwardingListenableFuture
ForwardingListenableFuture.SimpleForwardingListenableFuture<V>Nested classes/interfaces inherited from class com.google.common.util.concurrent.ForwardingFuture
ForwardingFuture.SimpleForwardingFuture<V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture
delegateMethods inherited from class com.google.common.util.concurrent.ForwardingListenableFuture
addListenerMethods inherited from class com.google.common.util.concurrent.ForwardingFuture
cancel, get, isCancelled, isDoneMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
cancel, get, isCancelled, isDoneMethods inherited from interface com.google.common.util.concurrent.ListenableFuture
addListener
-
Field Details
-
exception
-
-
Constructor Details
-
ImmediateScheduledFuture
-
-
Method Details
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<V>- Overrides:
getin classForwardingFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
getDelay
-
compareTo
- Specified by:
compareToin interfaceComparable<V>
-