@InternalApi public static class GrpcTransportOptions.DefaultExecutorFactory extends Object implements GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService>
| Constructor and Description |
|---|
DefaultExecutorFactory() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutorService |
get()
Gets an executor service instance.
|
void |
release(ScheduledExecutorService executor)
Releases resources used by the executor and possibly shuts it down.
|
public ScheduledExecutorService get()
GrpcTransportOptions.ExecutorFactoryget in interface GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService>public void release(ScheduledExecutorService executor)
GrpcTransportOptions.ExecutorFactoryrelease in interface GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService>Copyright © 2019 Google LLC. All rights reserved.