Class DefaultJobBundleFactory
java.lang.Object
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory
- All Implemented Interfaces:
 AutoCloseable,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.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA container for EnvironmentFactory and its corresponding Grpc servers.protected static classHolder for anSdkHarnessClientalong with its associated state and data servers. - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static DefaultJobBundleFactorystatic DefaultJobBundleFactorycreate(JobInfo jobInfo, Map<String, EnvironmentFactory.Provider> environmentFactoryProviderMap) forStage(org.apache.beam.sdk.util.construction.graph.ExecutableStage executableStage)  
- 
Method Details
- 
create
 - 
create
public static DefaultJobBundleFactory create(JobInfo jobInfo, Map<String, EnvironmentFactory.Provider> environmentFactoryProviderMap)  - 
forStage
public StageBundleFactory forStage(org.apache.beam.sdk.util.construction.graph.ExecutableStage executableStage) - Specified by:
 forStagein interfaceJobBundleFactory
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Throws:
 Exception
 
 -