public class DefaultResultConsumer<V> extends java.lang.Object implements ResultConsumer<V>
Constructor and Description |
---|
DefaultResultConsumer(AsyncFutureResult<? super V> result) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Throwable t) |
void |
onSuccess(V value) |
public DefaultResultConsumer(AsyncFutureResult<? super V> result)
public void onSuccess(V value)
onSuccess
in interface ResultConsumer<V>
public void onFailure(java.lang.Throwable t)
onFailure
in interface ResultConsumer<V>