mirror of https://github.com/grpc/grpc-java.git
core/doc: clarify when ClientCall.cancel() can be called.
The original javadoc may be misunderstood as "one must call halfClose() before calling cancel()".
This commit is contained in:
parent
e7d6b5f808
commit
96a32ed768
|
|
@ -205,8 +205,8 @@ public abstract class ClientCall<ReqT, RespT> {
|
|||
/**
|
||||
* Prevent any further processing for this {@code ClientCall}. No further messages may be sent or
|
||||
* will be received. The server is informed of cancellations, but may not stop processing the
|
||||
* call. Cancellation is permitted if previously {@link #halfClose}d. Cancelling an already {@code
|
||||
* cancel()}ed {@code ClientCall} has no effect.
|
||||
* call. Cancellation is permitted even if previously {@link #halfClose}d. Cancelling an already
|
||||
* {@code cancel()}ed {@code ClientCall} has no effect.
|
||||
*
|
||||
* <p>No other methods on this class can be called after this method has been called.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue