Interface EnvironmentFactory
-
- All Known Implementing Classes:
DockerEnvironmentFactory,EmbeddedEnvironmentFactory,ExternalEnvironmentFactory,ProcessEnvironmentFactory,StaticRemoteEnvironmentFactory
public interface EnvironmentFactoryCreatesenvironmentswhich communicate to anSdkHarnessClient.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEnvironmentFactory.ProviderProvider for aEnvironmentFactoryandServerFactoryfor the environment.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteEnvironmentcreateEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, java.lang.String workerId)Creates an activeRunnerApi.Environmentand returns a handle to it.
-
-
-
Method Detail
-
createEnvironment
RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, java.lang.String workerId) throws java.lang.Exception
Creates an activeRunnerApi.Environmentand returns a handle to it.- Throws:
java.lang.Exception
-
-