public class DefaultVertexParallelismStore extends Object implements MutableVertexParallelismStore
Constructor and Description |
---|
DefaultVertexParallelismStore() |
Modifier and Type | Method and Description |
---|---|
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 void setParallelismInfo(JobVertexID vertexId, VertexParallelismInformation info)
MutableVertexParallelismStore
setParallelismInfo
in interface MutableVertexParallelismStore
vertexId
- vertex to set parallelism forinfo
- parallelism information for the given vertexpublic VertexParallelismInformation getParallelismInfo(JobVertexID vertexId)
VertexParallelismStore
getParallelismInfo
in interface VertexParallelismStore
vertexId
- vertex for which the parallelism information should be returnedCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.