| Package | Description | 
|---|---|
| com.google.common.util.concurrent | Concurrency utilities. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractCheckedFuture<V,X extends Exception>A delegating wrapper around a  ListenableFuturethat adds support for
 theAbstractCheckedFuture.checkedGet()andAbstractCheckedFuture.checkedGet(long, TimeUnit)methods. | 
| class  | ForwardingCheckedFuture<V,X extends Exception>A future which forwards all its method calls to another future. | 
| static class  | ForwardingCheckedFuture.SimpleForwardingCheckedFuture<V,X extends Exception>A simplified version of  ForwardingCheckedFuturewhere subclasses
 can pass in an already constructedCheckedFutureas the delegate. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract CheckedFuture<V,X> | ForwardingCheckedFuture. delegate() | 
| protected CheckedFuture<V,X> | ForwardingCheckedFuture.SimpleForwardingCheckedFuture. delegate() | 
| static <V,X extends Exception>  | Futures. immediateCheckedFuture(V value)Returns a  CheckedFuturewhich has its value set immediately upon
 construction. | 
| static <V,X extends Exception>  | Futures. immediateFailedCheckedFuture(X exception)Returns a  CheckedFuturewhich has an exception set immediately upon
 construction. | 
| static <V,X extends Exception>  | Futures. makeChecked(ListenableFuture<V> future,
                      Function<? super Exception,X> mapper)Creates a  CheckedFutureout of a normalListenableFutureand aFunctionthat maps fromExceptioninstances into the appropriate checked type. | 
| Constructor and Description | 
|---|
| ForwardingCheckedFuture.SimpleForwardingCheckedFuture(CheckedFuture<V,X> delegate) | 
Copyright © 2010-2015. All Rights Reserved.