public static class Futures.LazyListenableFutureFunctionAdapter<I,O>
extends com.google.common.collect.ForwardingObject
implements com.google.common.util.concurrent.ListenableFuture<O>
public O get() throws InterruptedException, ExecutionException
get
in interface Future<O>
InterruptedException
ExecutionException
public O get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<O>
InterruptedException
ExecutionException
TimeoutException
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<O>
public void addListener(Runnable listener, Executor exec)
addListener
in interface com.google.common.util.concurrent.ListenableFuture<O>
protected Object delegate()
delegate
in class com.google.common.collect.ForwardingObject
Copyright © 2009-2012 jclouds. All Rights Reserved.