class ListenableToCompletableFutureWrapper<V> extends CompletableFuture<V> implements com.google.common.util.concurrent.FutureCallback<V>
CompletableFuture.AsynchronousCompletionTask| Modifier and Type | Field and Description |
|---|---|
private com.google.common.util.concurrent.ListenableFuture<V> |
future |
| Constructor and Description |
|---|
ListenableToCompletableFutureWrapper(com.google.common.util.concurrent.ListenableFuture<V> future) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable t) |
void |
onSuccess(V result) |
com.google.common.util.concurrent.ListenableFuture<V> |
unwrap() |
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncprivate final com.google.common.util.concurrent.ListenableFuture<V> future
ListenableToCompletableFutureWrapper(com.google.common.util.concurrent.ListenableFuture<V> future)
Copyright © 2015 Spotify AB. All Rights Reserved.