public static class GrpcTransportOptions.Builder
Builder for GrpcTransportOptions
.
Methods
build()
public GrpcTransportOptions build()
Returns | |
---|---|
Type | Description |
GrpcTransportOptions |
setExecutorFactory(GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService> executorFactory)
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.
Parameter | |
---|---|
Name | Description |
executorFactory |
ExecutorFactory<ScheduledExecutorService> |
Returns | |
---|---|
Type | Description |
GrpcTransportOptions.Builder |
the builder |