Class DefaultJobBundleFactory

java.lang.Object
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory
All Implemented Interfaces:
AutoCloseable, org.apache.beam.runners.fnexecution.control.JobBundleFactory

@ThreadSafe public class DefaultJobBundleFactory extends Object implements org.apache.beam.runners.fnexecution.control.JobBundleFactory
A JobBundleFactory for which the implementation can specify a custom EnvironmentFactory for environment management. Note that returned stage bundle factories are not thread-safe. Instead, a new stage factory should be created for each client. DefaultJobBundleFactory initializes the Environment lazily when the forStage is called for a stage.
  • Method Details

    • create

      public static DefaultJobBundleFactory create(org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo)
    • create

      public static DefaultJobBundleFactory create(org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo, Map<String,org.apache.beam.runners.fnexecution.environment.EnvironmentFactory.Provider> environmentFactoryProviderMap)
    • forStage

      public org.apache.beam.runners.fnexecution.control.StageBundleFactory forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage)
      Specified by:
      forStage in interface org.apache.beam.runners.fnexecution.control.JobBundleFactory
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception