List of usage examples for com.google.common.util.concurrent ListenableFuture interface-usage
From source file com.skcraft.plume.common.util.concurrent.Deferred.java
/**
* An extension of {@link ListenableFuture} that provides convenience methods
* to register functions that are triggered after upon the completion of
* the underlying task.
*
* <p>Dependent functions are executed using the "default" executor which
From source file com.clank.concurrency.ObservableFuture.java
/** * A pair of ProgressObservable and ListenableFuture. * * @param <V> the result type */ public class ObservableFuture<V> implements ListenableFuture<V>, ProgressObservable {
From source file com.skcraft.concurrency.ObservableFuture.java
/** * A pair of ProgressObservable and ListenableFuture. * * @param <V> the result type */ public class ObservableFuture<V> implements ListenableFuture<V>, ProgressObservable {
From source file webchat.client.http.AbstractWrappingFuture.java
/** * */ public abstract class AbstractWrappingFuture<I, O> implements ListenableFuture<O> { ListenableFuture<I> wrappedFut;
From source file com.skcraft.concurrency.Deferred.java
/**
* An extension of {@link ListenableFuture} that provides convenience methods
* to register functions that are triggered after upon the completion of
* the underlying task.
*
* <p>Dependent functions are executed using the "default" executor which
From source file com.continuuity.weave.zookeeper.OperationFuture.java
/** * A {@link ListenableFuture} that also provides the requested path for a operation. * * @param <V> The result type returned by this Future's {@link #get()} method. */ public interface OperationFuture<V> extends ListenableFuture<V> {
From source file org.stem.client.ResponseFuture.java
public interface ResponseFuture extends ListenableFuture<Message.Response> { public Message.Response getUninterruptibly(); public Message.Response getUninterruptibly(long timeout, TimeUnit unit) throws TimeoutException;
From source file com.palantir.giraffe.command.CommandFuture.java
/**
* A {@link ListenableFuture} that provides access to the output and exit status
* of an asynchronous command.
* <p>
* This future is resolved when its command terminates, either successfully or
* with an error. If the command completes successfully, {@link #get() get}
From source file org.apache.twill.zookeeper.OperationFuture.java
/** * A {@link ListenableFuture} that also provides the requested path for a operation. * * @param <V> The result type returned by this Future's {@link #get()} method. */ public interface OperationFuture<V> extends ListenableFuture<V> {
From source file com.spotify.futures.CompletableToListenableFutureWrapper.java
class CompletableToListenableFutureWrapper<V> extends AbstractFuture<V> implements ListenableFuture<V>, BiConsumer<V, Throwable> { private final CompletionStage<V> future; CompletableToListenableFutureWrapper(final CompletionStage<V> future) {