MCPcopy Create free account
hub / github.com/grpc/grpc-java / isCancelled

Method isCancelled

api/src/main/java/io/grpc/ServerCall.java:187–187  ·  view source on GitHub ↗

Returns true when the call is cancelled and the server is encouraged to abort processing to save resources, since the client will not be processing any further methods. Cancellations can be caused by timeouts, explicit cancel by client, network errors, and similar. This method may safely

()

Source from the content-addressed store, hash-verified

185 * <p>This method may safely be called concurrently from multiple threads.
186 */
187 public abstract boolean isCancelled();
188
189 /**
190 * Enables per-message compression, if an encoding type has been negotiated. If no message

Callers 1

statusFromCancelledMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected