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