|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CheckedFuture | |
|---|---|
| com.google.common.util.concurrent | |
| Uses of CheckedFuture in com.google.common.util.concurrent |
|---|
| Classes in com.google.common.util.concurrent that implement CheckedFuture | |
|---|---|
class |
AbstractCheckedFuture<V,E extends Exception>
A delegating wrapper around a ListenableFuture that adds support for
the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.checkedGet(long, TimeUnit) methods. |
| Methods in com.google.common.util.concurrent that return CheckedFuture | ||
|---|---|---|
static
|
Futures.immediateCheckedFuture(T value)
Creates a CheckedFuture which has its value set immediately upon
construction. |
|
static
|
Futures.immediateFailedCheckedFuture(E exception)
Creates a CheckedFuture which has an exception set immediately
upon construction. |
|
static
|
Futures.makeChecked(Future<T> future,
Function<Exception,E> mapper)
Creates a CheckedFuture out of a normal Future and a
Function that maps from Exception instances into the
appropriate checked type. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||