public interface RejectionProcessableInvokeCallback extends InvokeCallback
RejectedExecutionPolicy is able to process the task-rejected situation.| 限定符和类型 | 方法和说明 |
|---|---|
RejectedExecutionPolicy |
rejectedExecutionPolicy()
when user executor rejected the
RpcInvokeCallbackListener.CallbackTask,
bolt will handle the rejected task according to this RejectedExecutionPolicy |
getExecutor, onException, onResponseRejectedExecutionPolicy rejectedExecutionPolicy()
RpcInvokeCallbackListener.CallbackTask,
bolt will handle the rejected task according to this RejectedExecutionPolicyRpcInvokeCallbackListener.onResponse(InvokeFuture)Copyright © 2021. All rights reserved.