Class DataflowStreamingPipelineOptions.GlobalConfigRefreshPeriodFactory
java.lang.Object
org.apache.beam.runners.dataflow.options.DataflowStreamingPipelineOptions.GlobalConfigRefreshPeriodFactory
- All Implemented Interfaces:
 DefaultValueFactory<Duration>
- Enclosing interface:
 DataflowStreamingPipelineOptions
public static class DataflowStreamingPipelineOptions.GlobalConfigRefreshPeriodFactory
extends Object
implements DefaultValueFactory<Duration>
Read global get config request period from system property
 'windmill.global_config_refresh_period'. The duration is specified as seconds in "PTx.yS"
 format, e.g. 'PT2.153S'. @See Duration#parse
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreate(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory. 
- 
Constructor Details
- 
GlobalConfigRefreshPeriodFactory
public GlobalConfigRefreshPeriodFactory() 
 - 
 - 
Method Details
- 
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
 createin interfaceDefaultValueFactory<Duration>- Parameters:
 options- The current pipeline options.- Returns:
 - The default value to be used for the annotated getter.
 
 
 -