@ThreadSafe public class DefaultJobBundleFactory extends Object implements org.apache.beam.runners.fnexecution.control.JobBundleFactory
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.| 限定符和类型 | 类和说明 |
|---|---|
static class |
DefaultJobBundleFactory.ServerInfo
A container for EnvironmentFactory and its corresponding Grpc servers.
|
protected static class |
DefaultJobBundleFactory.WrappedSdkHarnessClient
Holder for an
SdkHarnessClient along with its associated state and data servers. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
static DefaultJobBundleFactory |
create(org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo) |
static DefaultJobBundleFactory |
create(org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo,
Map<String,org.apache.beam.runners.fnexecution.environment.EnvironmentFactory.Provider> environmentFactoryProviderMap) |
org.apache.beam.runners.fnexecution.control.StageBundleFactory |
forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage) |
public static DefaultJobBundleFactory create(org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo)
public static DefaultJobBundleFactory create(org.apache.beam.runners.fnexecution.provisioning.JobInfo jobInfo, Map<String,org.apache.beam.runners.fnexecution.environment.EnvironmentFactory.Provider> environmentFactoryProviderMap)
public org.apache.beam.runners.fnexecution.control.StageBundleFactory forStage(org.apache.beam.runners.core.construction.graph.ExecutableStage executableStage)
forStage 在接口中 org.apache.beam.runners.fnexecution.control.JobBundleFactorypublic void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.