public class DefaultVertexParallelismStore extends Object implements MutableVertexParallelismStore
| 构造器和说明 |
|---|
DefaultVertexParallelismStore() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Optional<VertexParallelismStore> |
applyJobResourceRequirements(VertexParallelismStore oldVertexParallelismStore,
JobResourceRequirements jobResourceRequirements)
Create a new
VertexParallelismStore that reflects given JobResourceRequirements. |
VertexParallelismInformation |
getParallelismInfo(JobVertexID vertexId)
Returns a given vertex's parallelism information.
|
void |
setParallelismInfo(JobVertexID vertexId,
VertexParallelismInformation info)
Sets the parallelism properties for the given vertex.
|
public static Optional<VertexParallelismStore> applyJobResourceRequirements(VertexParallelismStore oldVertexParallelismStore, JobResourceRequirements jobResourceRequirements)
VertexParallelismStore that reflects given JobResourceRequirements.oldVertexParallelismStore - old vertex parallelism store that serves as a base for the
new onejobResourceRequirements - to apply over the old vertex parallelism storepublic void setParallelismInfo(JobVertexID vertexId, VertexParallelismInformation info)
MutableVertexParallelismStoresetParallelismInfo 在接口中 MutableVertexParallelismStorevertexId - vertex to set parallelism forinfo - parallelism information for the given vertexpublic VertexParallelismInformation getParallelismInfo(JobVertexID vertexId)
VertexParallelismStoregetParallelismInfo 在接口中 VertexParallelismStorevertexId - vertex for which the parallelism information should be returnedCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.