public class MoreFutures extends Object
ListenableFuture
.Modifier and Type | Class and Description |
---|---|
static class |
MoreFutures.FailureCallback<V>
A
FutureCallback that does nothing on success. |
static class |
MoreFutures.SuccessCallback<V>
A
FutureCallback that does nothing on failure. |
Modifier and Type | Field and Description |
---|---|
static com.google.common.util.concurrent.ListenableFuture<Void> |
VOID_SUCCESS
An immediate successful
ListenableFuture<Void> . |
Constructor and Description |
---|
MoreFutures() |
public static final com.google.common.util.concurrent.ListenableFuture<Void> VOID_SUCCESS
ListenableFuture<Void>
.Copyright © 2012–2015. All rights reserved.