Package org.apache.beam.runners.fnexecution.environment
Classes used to instantiate and manage SDK harness environments.
-
Interface Summary Interface Description EnvironmentFactory Createsenvironments
which communicate to anSdkHarnessClient
.EnvironmentFactory.Provider Provider for aEnvironmentFactory
andServerFactory
for the environment.RemoteEnvironment A handle to an available remoteRunnerApi.Environment
. -
Class Summary Class Description DockerEnvironmentFactory AnEnvironmentFactory
that creates docker containers by shelling out to docker.DockerEnvironmentFactory.Provider Provider for DockerEnvironmentFactory.EmbeddedEnvironmentFactory AnEnvironmentFactory
that communicates to aFnHarness
which is executing in the same process.EmbeddedEnvironmentFactory.Provider Provider of EmbeddedEnvironmentFactory.ExternalEnvironmentFactory AnEnvironmentFactory
which requests workers via the given URL in the Environment.ExternalEnvironmentFactory.Provider Provider of ExternalEnvironmentFactory.ProcessEnvironment Environment for process-based execution.ProcessEnvironmentFactory AnEnvironmentFactory
which forks processes based on the parameters in the Environment.ProcessEnvironmentFactory.Provider Provider of ProcessEnvironmentFactory.ProcessManager A simple process manager which forks processes and kills them if necessary.ProcessManager.RunningProcess RemoteEnvironment.SimpleRemoteEnvironment ARemoteEnvironment
which uses the defaultRemoteEnvironment.close()
behavior.StaticRemoteEnvironment ARemoteEnvironment
that connects to Dataflow runner harness.StaticRemoteEnvironmentFactory AnEnvironmentFactory
that creates StaticRemoteEnvironment used by a runner harness that would like to use an existing InstructionRequestHandler.StaticRemoteEnvironmentFactory.Provider Provider for StaticRemoteEnvironmentFactory.