org.jclouds.concurrent
Class Futures.LazyListenableFutureFunctionAdapter<I,O>
java.lang.Object
   com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingObject
       org.jclouds.concurrent.Futures.LazyListenableFutureFunctionAdapter<I,O>
org.jclouds.concurrent.Futures.LazyListenableFutureFunctionAdapter<I,O>
- All Implemented Interfaces: 
- com.google.common.util.concurrent.ListenableFuture<O>, Future<O>
- Enclosing class:
- Futures
- public static class Futures.LazyListenableFutureFunctionAdapter<I,O> 
- extends com.google.common.collect.ForwardingObject- implements com.google.common.util.concurrent.ListenableFuture<O>
 
| Methods inherited from class com.google.common.collect.ForwardingObject | 
| toString | 
 
 
get
public O get()
      throws InterruptedException,
             ExecutionException
- 
- Specified by:
- getin interface- Future<O>
 
- 
- Throws:
- InterruptedException
- ExecutionException
 
get
public O get(long timeout,
             TimeUnit unit)
      throws InterruptedException,
             ExecutionException,
             TimeoutException
- 
- Specified by:
- getin interface- Future<O>
 
- 
- Throws:
- InterruptedException
- ExecutionException
- TimeoutException
 
cancel
public boolean cancel(boolean mayInterruptIfRunning)
- 
- Specified by:
- cancelin interface- Future<O>
 
- 
 
isCancelled
public boolean isCancelled()
- 
- Specified by:
- isCancelledin interface- Future<O>
 
- 
 
isDone
public boolean isDone()
- 
- Specified by:
- isDonein interface- Future<O>
 
- 
 
addListener
public void addListener(Runnable listener,
                        Executor exec)
- 
- Specified by:
- addListenerin interface- com.google.common.util.concurrent.ListenableFuture<O>
 
- 
 
delegate
protected Object delegate()
- 
- Specified by:
- delegatein class- com.google.common.collect.ForwardingObject
 
- 
 
Copyright © 2009-2011 jclouds. All Rights Reserved.