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,
IdGenerator idGenerator)
Deprecated.
|
StageBundleFactory |
forStage(org.apache.beam.sdk.util.construction.graph.ExecutableStage executableStage)
Deprecated.
|
public static JobBundleFactory create(EnvironmentFactory environmentFactory, GrpcFnServer<GrpcDataService> data, GrpcFnServer<GrpcStateService> state, IdGenerator idGenerator)
public StageBundleFactory forStage(org.apache.beam.sdk.util.construction.graph.ExecutableStage executableStage)
forStage
in interface JobBundleFactory
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception