Interface VertexParallelismAndInputInfosDecider
-
- All Known Implementing Classes:
DefaultVertexParallelismAndInputInfosDecider
public interface VertexParallelismAndInputInfosDeciderVertexParallelismAndInputInfosDecideris responsible for deciding the parallelism andJobVertexInputInfos of a job vertex, based on the information of the consumed blocking results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParallelismAndInputInfosdecideParallelismAndInputInfosForVertex(JobVertexID jobVertexId, List<BlockingResultInfo> consumedResults, int vertexInitialParallelism, int vertexMaxParallelism)Decide the parallelism andJobVertexInputInfos for this job vertex.
-
-
-
Method Detail
-
decideParallelismAndInputInfosForVertex
ParallelismAndInputInfos decideParallelismAndInputInfosForVertex(JobVertexID jobVertexId, List<BlockingResultInfo> consumedResults, int vertexInitialParallelism, int vertexMaxParallelism)
Decide the parallelism andJobVertexInputInfos for this job vertex.- Parameters:
jobVertexId- The job vertex idconsumedResults- The information of consumed blocking resultsvertexInitialParallelism- The initial parallelism of the job vertex. If it's a positive number, it will be respected. If it's not set(equals toExecutionConfig.PARALLELISM_DEFAULT), a parallelism will be automatically decided for the vertex.vertexMaxParallelism- The max parallelism of the job vertex.- Returns:
- the parallelism and vertex input infos.
-
-