ServiceRemotingCancellationHelper.cancelRequestAsync(int interfaceId, int methodId, String callContext) 方法

定义

Cancels the request asynchronously.

public CompletableFuture<byte[]> cancelRequestAsync(int interfaceId, int methodId, String callContext)

参数

interfaceId
int

The interface id of the remote interface

methodId
int

The methodId of the remote method

callContext
String

callContext.

返回

CompletableFuture<byte[]>

returns a Completable future having byte array.

适用于