public interface VertexParallelismInformation
Modifier and Type | Method and Description |
---|---|
boolean |
canRescaleMaxParallelism(int desiredMaxParallelism)
Returns whether the vertex's max parallelism can be changed to a given value.
|
int |
getMaxParallelism()
Returns the vertex's max parallelism.
|
int |
getParallelism()
Returns a vertex's parallelism.
|
void |
setMaxParallelism(int maxParallelism)
Changes a given vertex's max parallelism property.
|
void |
setParallelism(int parallelism)
Set a given vertex's parallelism property.
|
int getParallelism()
int getMaxParallelism()
void setParallelism(int parallelism)
parallelism
- the parallelism for the vertexvoid setMaxParallelism(int maxParallelism)
canRescaleMaxParallelism(int)
, otherwise this operation may fail.maxParallelism
- the new max parallelism for the vertexboolean canRescaleMaxParallelism(int desiredMaxParallelism)
desiredMaxParallelism
- the desired max parallelism for the vertexCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.