|Modifier and Type||Method and Description|
Check whether the call has been cancelled.
Set a callback for when the client cancels a call, i.e.
void setOnCancelHandler(Runnable handler)
isCancelled()has become true.
Note that this callback may only be called some time after
isCancelled() becomes true, and may never
be called if all executor threads on the server are busy, or the RPC method body is implemented in a blocking
Copyright © 2021 The Apache Software Foundation. All rights reserved.