Class DataflowStreamingPipelineOptions.HarnessUpdateReportingPeriodFactory
java.lang.Object
org.apache.beam.runners.dataflow.options.DataflowStreamingPipelineOptions.HarnessUpdateReportingPeriodFactory
- All Implemented Interfaces:
DefaultValueFactory<Duration>
- Enclosing interface:
DataflowStreamingPipelineOptions
public static class DataflowStreamingPipelineOptions.HarnessUpdateReportingPeriodFactory
extends Object
implements DefaultValueFactory<Duration>
Read counter reporting period from system property 'windmill.harness_update_reporting_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
-
HarnessUpdateReportingPeriodFactory
public HarnessUpdateReportingPeriodFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<Duration>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-