Class GrpcTransportOptions.DefaultExecutorFactory (2.40.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
Type Description
ScheduledExecutorService

release(ScheduledExecutorService executor)

public synchronized void release(ScheduledExecutorService executor)
Parameter
Name Description
executor ScheduledExecutorService