V
- public static class FeatureSeThriftClientAsync.DefaultCallback<V> extends java.lang.Object implements com.google.common.util.concurrent.FutureCallback<V>
FutureCallback
实现Constructor and Description |
---|
DefaultCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Throwable t) |
protected void |
onServiceRuntimeException(ServiceRuntimeException e) |
void |
onSuccess(V result) |
protected void |
onThrowable(java.lang.Throwable e) |
public DefaultCallback()
public void onSuccess(V result)
onSuccess
in interface com.google.common.util.concurrent.FutureCallback<V>
public void onFailure(java.lang.Throwable t)
onFailure
in interface com.google.common.util.concurrent.FutureCallback<V>
protected void onServiceRuntimeException(ServiceRuntimeException e)
protected void onThrowable(java.lang.Throwable e)
Copyright © 2020. All rights reserved.