![JAR search and dependency download from the Maven repository](/logo.png)
javadoc.com.google.common.util.concurrent.class-use.CheckedFuture.html Maven / Gradle / Ivy
The newest version!
Uses of Interface com.google.common.util.concurrent.CheckedFuture (Guava: Google Core Libraries for Java 11.0.1 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
Uses of Interface
com.google.common.util.concurrent.CheckedFuture
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
<V,X extends Exception>
CheckedFuture<V,X>
Futures.immediateCheckedFuture(V value)
Returns a CheckedFuture
which has its value set immediately upon
construction.
static
<V,X extends Exception>
CheckedFuture<V,X>
Futures.immediateFailedCheckedFuture(X exception)
Returns a CheckedFuture
which has an exception set immediately upon
construction.
static
<V,X extends Exception>
CheckedFuture<V,X>
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)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
Copyright © 2010-2012. All Rights Reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy