Package com.linkedin.venice.grpc
Class VeniceGrpcServerConfig.Builder
- java.lang.Object
-
- com.linkedin.venice.grpc.VeniceGrpcServerConfig.Builder
-
- Enclosing class:
- VeniceGrpcServerConfig
public static class VeniceGrpcServerConfig.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VeniceGrpcServerConfig
build()
VeniceGrpcServerConfig.Builder
setCredentials(io.grpc.ServerCredentials credentials)
VeniceGrpcServerConfig.Builder
setExecutor(java.util.concurrent.Executor executor)
VeniceGrpcServerConfig.Builder
setInterceptor(io.grpc.ServerInterceptor interceptor)
VeniceGrpcServerConfig.Builder
setInterceptors(java.util.List<? extends io.grpc.ServerInterceptor> interceptors)
VeniceGrpcServerConfig.Builder
setNumThreads(int numThreads)
VeniceGrpcServerConfig.Builder
setPort(int port)
VeniceGrpcServerConfig.Builder
setService(io.grpc.BindableService service)
VeniceGrpcServerConfig.Builder
setSslFactory(SSLFactory sslFactory)
-
-
-
Method Detail
-
setPort
public VeniceGrpcServerConfig.Builder setPort(int port)
-
setCredentials
public VeniceGrpcServerConfig.Builder setCredentials(io.grpc.ServerCredentials credentials)
-
setService
public VeniceGrpcServerConfig.Builder setService(io.grpc.BindableService service)
-
setInterceptors
public VeniceGrpcServerConfig.Builder setInterceptors(java.util.List<? extends io.grpc.ServerInterceptor> interceptors)
-
setInterceptor
public VeniceGrpcServerConfig.Builder setInterceptor(io.grpc.ServerInterceptor interceptor)
-
setSslFactory
public VeniceGrpcServerConfig.Builder setSslFactory(SSLFactory sslFactory)
-
setNumThreads
public VeniceGrpcServerConfig.Builder setNumThreads(int numThreads)
-
setExecutor
public VeniceGrpcServerConfig.Builder setExecutor(java.util.concurrent.Executor executor)
-
build
public VeniceGrpcServerConfig build()
-
-