DockerJobBundleFactory
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.
|
<T> StageBundleFactory<T> |
forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage)
Deprecated.
|
public static JobBundleFactory create(EnvironmentFactory environmentFactory, GrpcFnServer<GrpcDataService> data, GrpcFnServer<GrpcStateService> state)
public <T> StageBundleFactory<T> 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