Class DataflowStreamingPipelineOptions.WindmillServiceStreamingRpcBatchLimitFactory
java.lang.Object
org.apache.beam.runners.dataflow.options.DataflowStreamingPipelineOptions.WindmillServiceStreamingRpcBatchLimitFactory
- All Implemented Interfaces:
DefaultValueFactory<Integer>
- Enclosing interface:
DataflowStreamingPipelineOptions
public static class DataflowStreamingPipelineOptions.WindmillServiceStreamingRpcBatchLimitFactory
extends Object
implements DefaultValueFactory<Integer>
Factory for setting value of WindmillServiceStreamingRpcBatchLimit based on environment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory.
-
Constructor Details
-
WindmillServiceStreamingRpcBatchLimitFactory
public WindmillServiceStreamingRpcBatchLimitFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
createin interfaceDefaultValueFactory<Integer>- Parameters:
options- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-