Package com.linkedin.venice.fastclient
Class GrpcClientConfig.Builder
- java.lang.Object
-
- com.linkedin.venice.fastclient.GrpcClientConfig.Builder
-
- Enclosing class:
- GrpcClientConfig
public static class GrpcClientConfig.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrpcClientConfig
build()
GrpcClientConfig.Builder
setNettyServerToGrpcAddress(java.util.Map<java.lang.String,java.lang.String> nettyServerToGrpcAddress)
GrpcClientConfig.Builder
setPort(int port)
GrpcClientConfig.Builder
setR2Client(com.linkedin.r2.transport.common.Client r2Client)
GrpcClientConfig.Builder
setSSLFactory(SSLFactory sslFactory)
-
-
-
Method Detail
-
setR2Client
public GrpcClientConfig.Builder setR2Client(com.linkedin.r2.transport.common.Client r2Client)
-
setPort
public GrpcClientConfig.Builder setPort(int port)
-
setNettyServerToGrpcAddress
public GrpcClientConfig.Builder setNettyServerToGrpcAddress(java.util.Map<java.lang.String,java.lang.String> nettyServerToGrpcAddress)
-
setSSLFactory
public GrpcClientConfig.Builder setSSLFactory(SSLFactory sslFactory)
-
build
public GrpcClientConfig build()
-
-