Class StaticRemoteEnvironmentFactory
- java.lang.Object
-
- org.apache.beam.runners.fnexecution.environment.StaticRemoteEnvironmentFactory
-
- All Implemented Interfaces:
EnvironmentFactory
public class StaticRemoteEnvironmentFactory extends java.lang.Object implements EnvironmentFactory
AnEnvironmentFactorythat creates StaticRemoteEnvironment used by a runner harness that would like to use an existing InstructionRequestHandler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStaticRemoteEnvironmentFactory.ProviderProvider for StaticRemoteEnvironmentFactory.
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.static StaticRemoteEnvironmentFactoryforService(InstructionRequestHandler instructionRequestHandler)
-
-
-
Method Detail
-
forService
public static StaticRemoteEnvironmentFactory forService(InstructionRequestHandler instructionRequestHandler)
-
createEnvironment
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, java.lang.String workerId)
Description copied from interface:EnvironmentFactoryCreates an activeRunnerApi.Environmentand returns a handle to it.- Specified by:
createEnvironmentin interfaceEnvironmentFactory
-
-