public class ReferenceRunner
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
execute()
First starts all the services needed, then configures and starts the
ExecutorServiceParallelExecutor . |
static ReferenceRunner |
forPipeline(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline p,
org.apache.beam.vendor.grpc.v1p13p1.com.google.protobuf.Struct options,
java.lang.String artifactRetrievalToken)
Creates a "ReferenceRunner" engine for a single pipeline with a Dockerized SDK harness.
|
public static ReferenceRunner forPipeline(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline p, org.apache.beam.vendor.grpc.v1p13p1.com.google.protobuf.Struct options, java.lang.String artifactRetrievalToken)
p
- Pipeline being executed for this job.options
- PipelineOptions for this job.artifactRetrievalToken
- Token to retrieve artifacts that have been staged.public void execute() throws java.lang.Exception
ExecutorServiceParallelExecutor
.java.lang.Exception