|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CheckedFuture | |
---|---|
com.google.common.util.concurrent | Concurrency utilities. |
Uses of CheckedFuture in com.google.common.util.concurrent |
---|
Classes in com.google.common.util.concurrent that implement CheckedFuture | |
---|---|
class |
AbstractCheckedFuture<V,X extends Exception>
A delegating wrapper around a ListenableFuture that adds support for
the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.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 ForwardingCheckedFuture where subclasses
can pass in an already constructed CheckedFuture as the delegate. |
Methods in com.google.common.util.concurrent that return CheckedFuture | ||
---|---|---|
protected abstract CheckedFuture<V,X> |
ForwardingCheckedFuture.delegate()
|
|
protected CheckedFuture<V,X> |
ForwardingCheckedFuture.SimpleForwardingCheckedFuture.delegate()
|
|
static
|
Futures.immediateCheckedFuture(V value)
Returns a CheckedFuture which has its value set immediately upon
construction. |
|
static
|
Futures.immediateFailedCheckedFuture(X exception)
Returns a CheckedFuture which has an exception set immediately upon
construction. |
|
static
|
Futures.makeChecked(ListenableFuture<V> future,
Function<Exception,X> mapper)
Creates a CheckedFuture out of a normal ListenableFuture
and a Function that maps from Exception instances into the
appropriate checked type. |
Constructors in com.google.common.util.concurrent with parameters of type CheckedFuture | |
---|---|
ForwardingCheckedFuture.SimpleForwardingCheckedFuture(CheckedFuture<V,X> delegate)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |