I
- Vertex id typepublic interface WorkerIndexUsage<I>
Modifier and Type | Method and Description |
---|---|
int |
getMyWorkerIndex()
Get index for this worker
|
int |
getWorkerCount()
Get number of workers
|
int |
getWorkerForVertex(I vertexId)
Get worker index which will contain vertex with given id,
if such vertex exists.
|
int getWorkerCount()
int getMyWorkerIndex()
int getWorkerForVertex(I vertexId)
vertexId
- vertex idCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.