use of org.apache.beam.runners.jet.JetPipelineOptions in project beam by apache.
the class AbstractParDoP method isCooperativenessAllowed.
private static Boolean isCooperativenessAllowed(SerializablePipelineOptions serializablePipelineOptions) {
PipelineOptions pipelineOptions = serializablePipelineOptions.get();
JetPipelineOptions jetPipelineOptions = pipelineOptions.as(JetPipelineOptions.class);
return jetPipelineOptions.getJetProcessorsCooperative();
}
Aggregations