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

Method isSafe

api/src/main/java/io/grpc/MethodDescriptor.java:370–372  ·  view source on GitHub ↗

Returns whether this method is safe. A safe request does nothing except retrieval so it has no side effects on the server side. @since 1.1.0

()

Source from the content-addressed store, hash-verified

368 * @since 1.1.0
369 */
370 public boolean isSafe() {
371 return safe;
372 }
373
374 /**
375 * Returns whether RPCs for this method may be sampled into the local tracing store.

Callers 10

validateWrappedMethodMethod · 0.80
safeMethod · 0.80
safeImpliesIdempotentMethod · 0.80
safeAndNonUnaryMethod · 0.80
toBuilderTestMethod · 0.80
interceptCallMethod · 0.80
OkHttpClientStreamMethod · 0.80
NettyClientStreamMethod · 0.80
CronetClientStreamMethod · 0.80

Calls

no outgoing calls

Tested by 6

validateWrappedMethodMethod · 0.64
safeMethod · 0.64
safeImpliesIdempotentMethod · 0.64
safeAndNonUnaryMethod · 0.64
toBuilderTestMethod · 0.64