Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.options
Class GcsOptions.ExecutorServiceFactory
- java.lang.Object
-
- com.google.cloud.dataflow.sdk.options.GcsOptions.ExecutorServiceFactory
-
- All Implemented Interfaces:
- DefaultValueFactory<ExecutorService>
- Enclosing interface:
- GcsOptions
public static class GcsOptions.ExecutorServiceFactory extends Object implements DefaultValueFactory<ExecutorService>
Returns the defaultExecutorService
to use within the Dataflow SDK. TheExecutorService
is compatible with AppEngine.
-
-
Constructor Summary
Constructors Constructor and Description ExecutorServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ExecutorService
create(PipelineOptions options)
Creates a default value for a getter marked withDefault.InstanceFactory
.
-
-
-
Method Detail
-
create
public ExecutorService create(PipelineOptions options)
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.
-
-