public class FinishedSuperstepStats extends VertexEdgeCount
Constructor and Description |
---|
FinishedSuperstepStats(long numLocalVertices,
boolean allVerticesHalted,
long numVertices,
long numEdges,
boolean mustLoadCheckpoint,
CheckpointStatus checkpointStatus)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allVerticesHalted()
Are all the vertices halted?
|
CheckpointStatus |
getCheckpointStatus()
What master thinks about checkpointing after this superstep.
|
long |
getLocalVertexCount() |
boolean |
mustLoadCheckpoint()
Must load the checkpoint?
|
getEdgeCount, getMappingCount, getVertexCount, incrVertexEdgeCount, incrVertexEdgeCount, toString
public FinishedSuperstepStats(long numLocalVertices, boolean allVerticesHalted, long numVertices, long numEdges, boolean mustLoadCheckpoint, CheckpointStatus checkpointStatus)
numLocalVertices
- Number of local verticesallVerticesHalted
- Are all the vertices haltednumVertices
- Number of verticesnumEdges
- Number of edgesmustLoadCheckpoint
- Has to load a checkpoint?checkpointStatus
- Should we checkpoint after this superstep?public long getLocalVertexCount()
public boolean allVerticesHalted()
public boolean mustLoadCheckpoint()
public CheckpointStatus getCheckpointStatus()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.