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

Method sink

okhttp/src/main/java/io/grpc/okhttp/AsyncSink.java:76–80  ·  view source on GitHub ↗

maxQueuedControlFrames is only effective for frames written with #limitControlFramesWriter(FrameWriter).

(
      SerializingExecutor executor, TransportExceptionHandler exceptionHandler,
      int maxQueuedControlFrames)

Source from the content-addressed store, hash-verified

74 * {@link #limitControlFramesWriter(FrameWriter)}.
75 */
76 static AsyncSink sink(
77 SerializingExecutor executor, TransportExceptionHandler exceptionHandler,
78 int maxQueuedControlFrames) {
79 return new AsyncSink(executor, exceptionHandler, maxQueuedControlFrames);
80 }
81
82 /**
83 * Sets the actual sink. It is allowed to call write / flush operations on the sink iff calling

Callers 6

AsyncSinkTestClass · 0.95
startIoMethod · 0.95
startMethod · 0.95
runMethod · 0.80
createHttpProxySocketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected