public class BoltFutureInvokeCallback extends AbstractInvokeCallback
| 限定符和类型 | 字段和说明 |
|---|---|
BoltResponseFuture |
rpcFuture
请求结果Future
|
classLoader, consumerConfig, context, providerInfo, request| 构造器和说明 |
|---|
BoltFutureInvokeCallback(ConsumerConfig consumerConfig,
ProviderInfo providerInfo,
BoltResponseFuture rpcFuture,
SofaRequest request,
RpcInternalContext context,
ClassLoader classLoader)
Instantiates a new Bolt future invoke callback.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Executor |
getExecutor() |
void |
onException(Throwable e) |
void |
onResponse(Object result) |
pickupBaggage, recordClientElapseTimepublic BoltResponseFuture rpcFuture
public BoltFutureInvokeCallback(ConsumerConfig consumerConfig, ProviderInfo providerInfo, BoltResponseFuture rpcFuture, SofaRequest request, RpcInternalContext context, ClassLoader classLoader)
consumerConfig - the consumer configproviderInfo - the provider inforpcFuture - the rpc futurerequest - the requestcontext - the contextclassLoader - the class loaderCopyright © 2008–2018 The Ant Financial. All rights reserved.