Package com.google.cloud.grpc
Class GrpcTransportOptions.Builder
java.lang.Object
com.google.cloud.grpc.GrpcTransportOptions.Builder
- Enclosing class:
- GrpcTransportOptions
Builder for
GrpcTransportOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()setExecutorFactory(GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService> executorFactory) Sets the scheduled executor factory.
-
Method Details
-
build
-
setExecutorFactory
public GrpcTransportOptions.Builder setExecutorFactory(GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService> executorFactory) Sets the scheduled executor factory. This method can be used to provide an user-defined scheduled executor to execute requests.- Returns:
- the builder
-