@Internal public final class SimpleInitializeOnMasterContext extends Object implements JobVertex.InitializeOnMasterContext
JobVertex.InitializeOnMasterContext.| 构造器和说明 |
|---|
SimpleInitializeOnMasterContext(ClassLoader loader,
int executionParallelism) |
| 限定符和类型 | 方法和说明 |
|---|---|
ClassLoader |
getClassLoader()
The class loader for user defined code.
|
int |
getExecutionParallelism()
The actual parallelism this vertex will be run with.
|
public SimpleInitializeOnMasterContext(ClassLoader loader, int executionParallelism)
public ClassLoader getClassLoader()
JobVertex.InitializeOnMasterContextpublic int getExecutionParallelism()
JobVertex.InitializeOnMasterContextJobVertex.getParallelism() is the original parallelism set when creating the JobGraph and
might be updated e.g. by the AdaptiveScheduler.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.