@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.Exceptionpublic <T> StageBundleFactory<T> forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage)
forStage in interface JobBundleFactorypublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception