org.jclouds.concurrent
Class Futures.ListenableFutureAdapter<T>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.util.concurrent.ForwardingFuture<T>
org.jclouds.concurrent.Futures.ListenableFutureAdapter<T>
- All Implemented Interfaces:
- com.google.common.util.concurrent.ListenableFuture<T>, Future<T>
- Enclosing class:
- Futures
public static class Futures.ListenableFutureAdapter<T>
- extends com.google.common.util.concurrent.ForwardingFuture<T>
- implements com.google.common.util.concurrent.ListenableFuture<T>
Nested classes/interfaces inherited from class com.google.common.util.concurrent.ForwardingFuture |
com.google.common.util.concurrent.ForwardingFuture.SimpleForwardingFuture<V> |
Methods inherited from class com.google.common.util.concurrent.ForwardingFuture |
cancel, get, get, isCancelled, isDone |
Methods inherited from class com.google.common.collect.ForwardingObject |
toString |
delegate
protected Future<T> delegate()
- Overrides:
delegate
in class com.google.common.util.concurrent.ForwardingFuture<T>
addListener
public void addListener(Runnable listener,
Executor exec)
- Specified by:
addListener
in interface com.google.common.util.concurrent.ListenableFuture<T>
Copyright © 2009-2011 jclouds. All Rights Reserved.