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 TypeMethodDescriptionvoidclose()Deprecated.static JobBundleFactorycreate(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:
forStagein interfaceJobBundleFactory
-
close
Deprecated.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
DefaultJobBundleFactorywhen appropriate if theEnvironmentFactoryis aDockerEnvironmentFactory, or create anInProcessJobBundleFactoryand inline the creation of the environment if appropriate.