Class GrpcTransportOptions.Builder (2.6.1)

public static class GrpcTransportOptions.Builder

Builder for GrpcTransportOptions.

Inheritance

java.lang.Object > GrpcTransportOptions.Builder

Methods

build()

public GrpcTransportOptions build()
Returns
TypeDescription
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
NameDescription
executorFactoryExecutorFactory<ScheduledExecutorService>
Returns
TypeDescription
GrpcTransportOptions.Builder

the builder