Interface EnvironmentFactory
- All Known Implementing Classes:
DockerEnvironmentFactory,EmbeddedEnvironmentFactory,ExternalEnvironmentFactory,ProcessEnvironmentFactory,StaticRemoteEnvironmentFactory
public interface EnvironmentFactory
Creates
environments which communicate to an SdkHarnessClient.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvider for aEnvironmentFactoryandServerFactoryfor the environment. -
Method Summary
Modifier and TypeMethodDescriptioncreateEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) Creates an activeRunnerApi.Environmentand returns a handle to it.
-
Method Details
-
createEnvironment
RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) throws Exception Creates an activeRunnerApi.Environmentand returns a handle to it.- Throws:
Exception
-