public class MessageFutureCallback<V>
extends java.lang.Object
implements com.google.common.util.concurrent.FutureCallback<V>
Modifier and Type | Class and Description |
---|---|
static class |
MessageFutureCallback.Builder |
Modifier and Type | Method and Description |
---|---|
static <V> MessageFutureCallback<V> |
createRegionLoadCallback(ExceptionConverter exceptionConverter,
Actor sender) |
static <V> MessageFutureCallback<V> |
createRegionSaveCallback(ExceptionConverter exceptionConverter,
Actor sender) |
void |
onFailure(java.lang.Throwable throwable) |
void |
onSuccess(V v) |
public void onSuccess(@Nullable V v)
onSuccess
in interface com.google.common.util.concurrent.FutureCallback<V>
public void onFailure(@Nullable java.lang.Throwable throwable)
onFailure
in interface com.google.common.util.concurrent.FutureCallback<V>
public static <V> MessageFutureCallback<V> createRegionLoadCallback(ExceptionConverter exceptionConverter, Actor sender)
public static <V> MessageFutureCallback<V> createRegionSaveCallback(ExceptionConverter exceptionConverter, Actor sender)