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

Method handshakeTimeout

api/src/main/java/io/grpc/ServerBuilder.java:242–244  ·  view source on GitHub ↗

Sets the permitted time for new connections to complete negotiation handshakes before being killed. The default value is 2 minutes. @return this @throws IllegalArgumentException if timeout is negative @throws UnsupportedOperationException if unsupported @since 1.8.0

(long timeout, TimeUnit unit)

Source from the content-addressed store, hash-verified

240 * @since 1.8.0
241 */
242 public T handshakeTimeout(long timeout, TimeUnit unit) {
243 throw new UnsupportedOperationException();
244 }
245
246 /**
247 * Sets the time without read activity before sending a keepalive ping. An unreasonably small

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected