@ThreadSafe public class DockerJobBundleFactory extends java.lang.Object implements JobBundleFactory
JobBundleFactory
that uses a DockerEnvironmentFactory
for environment
management. Note that returned stage bundle factories
are not
thread-safe. Instead, a new stage factory should be created for each client.Modifier and Type | Method and Description |
---|---|
void |
close() |
static DockerJobBundleFactory |
create(ArtifactSource artifactSource) |
<T> StageBundleFactory<T> |
forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage) |
public static DockerJobBundleFactory create(ArtifactSource artifactSource) throws java.lang.Exception
java.lang.Exception
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