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 interface
Provider for aEnvironmentFactory
andServerFactory
for the environment. -
Method Summary
Modifier and TypeMethodDescriptioncreateEnvironment
(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) Creates an activeRunnerApi.Environment
and 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.Environment
and returns a handle to it.- Throws:
Exception
-