public class EmbeddedEnvironmentFactory extends java.lang.Object implements EnvironmentFactory
EnvironmentFactory
that communicates to a FnHarness
which is executing in the
same process.Modifier and Type | Class and Description |
---|---|
static class |
EmbeddedEnvironmentFactory.Provider
Provider of EmbeddedEnvironmentFactory.
|
Modifier and Type | Method and Description |
---|---|
static EnvironmentFactory |
create(PipelineOptions options,
GrpcFnServer<GrpcLoggingService> loggingServer,
GrpcFnServer<FnApiControlClientPoolService> controlServer,
ControlClientPool.Source clientSource) |
RemoteEnvironment |
createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment)
Creates an active
RunnerApi.Environment and returns a handle to it. |
public static EnvironmentFactory create(PipelineOptions options, GrpcFnServer<GrpcLoggingService> loggingServer, GrpcFnServer<FnApiControlClientPoolService> controlServer, ControlClientPool.Source clientSource)
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment) throws java.lang.Exception
EnvironmentFactory
RunnerApi.Environment
and returns a handle to it.createEnvironment
in interface EnvironmentFactory
java.lang.Exception