Class SingleEnvironmentInstanceJobBundleFactory
java.lang.Object
org.apache.beam.runners.fnexecution.control.SingleEnvironmentInstanceJobBundleFactory
- All Implemented Interfaces:
AutoCloseable
,JobBundleFactory
@Deprecated
public class SingleEnvironmentInstanceJobBundleFactory
extends Object
implements JobBundleFactory
Deprecated.
A
JobBundleFactory
which can manage a single instance of an RunnerApi.Environment
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.static JobBundleFactory
create
(EnvironmentFactory environmentFactory, GrpcFnServer<GrpcDataService> data, GrpcFnServer<GrpcStateService> state, IdGenerator idGenerator) Deprecated.forStage
(org.apache.beam.sdk.util.construction.graph.ExecutableStage executableStage) Deprecated.
-
Method Details
-
create
public static JobBundleFactory create(EnvironmentFactory environmentFactory, GrpcFnServer<GrpcDataService> data, GrpcFnServer<GrpcStateService> state, IdGenerator idGenerator) Deprecated. -
forStage
public StageBundleFactory forStage(org.apache.beam.sdk.util.construction.graph.ExecutableStage executableStage) Deprecated.- Specified by:
forStage
in interfaceJobBundleFactory
-
close
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
DefaultJobBundleFactory
when appropriate if theEnvironmentFactory
is aDockerEnvironmentFactory
, or create anInProcessJobBundleFactory
and inline the creation of the environment if appropriate.