MCPcopy Index your code
hub / github.com/grpc/grpc-java / set

Method set

api/src/testFixtures/java/io/grpc/FlagResetRule.java:35–35  ·  view source on GitHub ↗

Sets a flag for testing and returns its previous value.

(T val)

Source from the content-addressed store, hash-verified

33 public interface SetterMethod<T> {
34 /** Sets a flag for testing and returns its previous value. */
35 T set(T val);
36 }
37
38 private final Deque<Runnable> toRunAfter = new ArrayDeque<>();

Callers 15

onCompletedMethod · 0.65
setConfigurationMethod · 0.65
runMethod · 0.65
onNextMethod · 0.65
getSlotMethod · 0.65
transportTerminatedMethod · 0.65
serverShutdownMethod · 0.65
runMethod · 0.65
closedMethod · 0.65
headersReadMethod · 0.65

Implementers 11

Builderapi/src/main/java/io/grpc/ClientStream
StreamingFutureexamples/src/main/java/io/grpc/example
OkHttpSettingsUtilokhttp/src/main/java/io/grpc/okhttp/Ok
Builderokhttp/third_party/okhttp/main/java/io
Settingsokhttp/third_party/okhttp/main/java/io
IBinderReceiverbinder/src/main/java/io/grpc/binder/IB
SimplePromisebinder/src/main/java/io/grpc/binder/in
MetadataSetteropentelemetry/src/main/java/io/grpc/op
GrpcFuturestub/src/main/java/io/grpc/stub/Client
AbstractHttp2Headersnetty/src/main/java/io/grpc/netty/Abst
GrpcHttp2InboundHeadersnetty/src/main/java/io/grpc/netty/Grpc

Calls

no outgoing calls

Tested by 15

onCompletedMethod · 0.52
runMethod · 0.52
transportTerminatedMethod · 0.52
serverShutdownMethod · 0.52
runMethod · 0.52
closedMethod · 0.52
headersReadMethod · 0.52
closedMethod · 0.52
transportReadyMethod · 0.52
closedMethod · 0.52