Class GrpcTransportOptions.Builder (2.38.1)

public static class GrpcTransportOptions.Builder

Builder for GrpcTransportOptions.

Inheritance

java.lang.Object > GrpcTransportOptions.Builder

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