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

Method setOnReadyThreshold

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

A hint to the call that specifies how many bytes must be queued before #isReady() will return false. A call may ignore this property if unsupported. This may only be set before any messages are sent. @param numBytes The number of bytes that must be queued. Must be a positive

(int numBytes)

Source from the content-addressed store, hash-verified

220 * positive integer.
221 */
222 @ExperimentalApi("https://github.com/grpc/grpc-java/issues/11021")
223 public void setOnReadyThreshold(int numBytes) {
224 checkArgument(numBytes > 0, "numBytes must be positive: %s", numBytes);
225 }
226
227 /**
228 * Returns the level of security guarantee in communications

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected