Class EmbeddedEnvironmentFactory
java.lang.Object
org.apache.beam.runners.fnexecution.environment.EmbeddedEnvironmentFactory
- All Implemented Interfaces:
 EnvironmentFactory
An 
EnvironmentFactory that communicates to a FnHarness which is executing in the
 same process.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvider of EmbeddedEnvironmentFactory. - 
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentFactorycreate(PipelineOptions options, GrpcFnServer<GrpcLoggingService> loggingServer, GrpcFnServer<FnApiControlClientPoolService> controlServer, ControlClientPool.Source clientSource) createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) Creates an activeRunnerApi.Environmentand returns a handle to it. 
- 
Method Details
- 
create
public static EnvironmentFactory create(PipelineOptions options, GrpcFnServer<GrpcLoggingService> loggingServer, GrpcFnServer<FnApiControlClientPoolService> controlServer, ControlClientPool.Source clientSource)  - 
createEnvironment
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, String workerId) throws Exception Description copied from interface:EnvironmentFactoryCreates an activeRunnerApi.Environmentand returns a handle to it.- Specified by:
 createEnvironmentin interfaceEnvironmentFactory- Throws:
 Exception
 
 -