Class ForwardingFuture<V>
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.util.concurrent.ForwardingFuture<V>
-
- All Implemented Interfaces:
java.util.concurrent.Future<V>
- Direct Known Subclasses:
ForwardingFuture.SimpleForwardingFuture,ForwardingListenableFuture
@Deprecated(since="2022-12-01") public abstract class ForwardingFuture<V> extends ForwardingObject implements java.util.concurrent.Future<V>
Deprecated.The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023AFuturewhich forwards all its method calls to another future. Subclasses should override one or more methods to modify the behavior of the backing future as desired per the decorator pattern.Most subclasses can just use
ForwardingFuture.SimpleForwardingFuture.- Since:
- 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForwardingFuture.SimpleForwardingFuture<V>Deprecated.The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Deprecated.Vget()Deprecated.Vget(long timeout, java.util.concurrent.TimeUnit unit)Deprecated.booleanisCancelled()Deprecated.booleanisDone()Deprecated.-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
-
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
Deprecated.- Specified by:
cancelin interfacejava.util.concurrent.Future<V>
-
isCancelled
public boolean isCancelled()
Deprecated.- Specified by:
isCancelledin interfacejava.util.concurrent.Future<V>
-
isDone
public boolean isDone()
Deprecated.- Specified by:
isDonein interfacejava.util.concurrent.Future<V>
-
get
public V get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Deprecated.- Specified by:
getin interfacejava.util.concurrent.Future<V>- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
get
public V get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
Deprecated.- Specified by:
getin interfacejava.util.concurrent.Future<V>- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutException
-
-