Class GcsOptions.ExecutorServiceFactory
java.lang.Object
org.apache.beam.sdk.extensions.gcp.options.GcsOptions.ExecutorServiceFactory
- All Implemented Interfaces:
DefaultValueFactory<ExecutorService>
- Enclosing interface:
GcsOptions
public static class GcsOptions.ExecutorServiceFactory
extends Object
implements DefaultValueFactory<ExecutorService>
Returns the default
ExecutorService
to use within the Apache Beam SDK. The ExecutorService
is compatible with AppEngine.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
ExecutorServiceFactory
public ExecutorServiceFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<ExecutorService>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-