public static interface JobVertex.FinalizeOnMasterContext
| 限定符和类型 | 方法和说明 |
|---|---|
ClassLoader |
getClassLoader()
The class loader for user defined code.
|
int |
getExecutionParallelism()
The actual parallelism this vertex will be run with.
|
int |
getFinishedAttempt(int subtaskIndex)
Get the finished attempt number of subtask.
|
ClassLoader getClassLoader()
int getExecutionParallelism()
JobVertex.getParallelism() is the original parallelism set when creating the JobGraph and
might be updated e.g. by the AdaptiveScheduler.int getFinishedAttempt(int subtaskIndex)
subtaskIndex - the subtask index.IllegalArgumentException - Thrown, if subtaskIndex is invalid.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.