DefaultJobBundleFactory
when appropriate if the EnvironmentFactory
is a DockerEnvironmentFactory
, or create an
InProcessJobBundleFactory
and inline the creation of the environment if appropriate.@Deprecated public class SingleEnvironmentInstanceJobBundleFactory extends java.lang.Object implements JobBundleFactory
JobBundleFactory
which can manage a single instance of an RunnerApi.Environment
.Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
static JobBundleFactory |
create(EnvironmentFactory environmentFactory,
GrpcFnServer<GrpcDataService> data,
GrpcFnServer<GrpcStateService> state)
Deprecated.
|
StageBundleFactory |
forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage)
Deprecated.
|
public static JobBundleFactory create(EnvironmentFactory environmentFactory, GrpcFnServer<GrpcDataService> data, GrpcFnServer<GrpcStateService> state)
public StageBundleFactory forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage)
forStage
in interface JobBundleFactory
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception