Package io.grpc
Class InternalChannelz.SocketOptions.Builder
java.lang.Object
io.grpc.InternalChannelz.SocketOptions.Builder
- Enclosing class:
- InternalChannelz.SocketOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setSocketOptionLingerSeconds(Integer lingerSeconds) The value ofSocket.getSoLinger().setSocketOptionTimeoutMillis(Integer timeoutMillis) The value ofSocket.getSoTimeout().setTcpInfo(InternalChannelz.TcpInfo tcpInfo)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setSocketOptionTimeoutMillis
The value ofSocket.getSoTimeout(). -
setSocketOptionLingerSeconds
The value ofSocket.getSoLinger(). Note: SO_LINGER is typically expressed in seconds. -
setTcpInfo
-
addOption
-
addOption
-
addOption
-
build
-