Class GrpcTransportOptions.DefaultExecutorFactory (2.26.0)

public static class GrpcTransportOptions.DefaultExecutorFactory implements GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService>

Inheritance

java.lang.Object > GrpcTransportOptions.DefaultExecutorFactory

Implements

com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory<java.util.concurrent.ScheduledExecutorService>

Constructors

DefaultExecutorFactory()

public DefaultExecutorFactory()

Methods

get()

public ScheduledExecutorService get()

Gets an executor service instance.

Returns
TypeDescription
ScheduledExecutorService

release(ScheduledExecutorService executor)

public synchronized void release(ScheduledExecutorService executor)
Parameter
NameDescription
executorScheduledExecutorService