Class PartitionStat
- java.lang.Object
-
- org.apache.hugegraph.computer.core.graph.partition.PartitionStat
-
- All Implemented Interfaces:
org.apache.hugegraph.computer.core.io.Readable,org.apache.hugegraph.computer.core.io.Writable
public class PartitionStat extends java.lang.Object implements org.apache.hugegraph.computer.core.io.Readable, org.apache.hugegraph.computer.core.io.Writable
-
-
Constructor Summary
Constructors Constructor Description PartitionStat()PartitionStat(int partitionId, long vertexCount, long edgeCount, long finishedVertexCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longedgeCount()booleanequals(java.lang.Object obj)longfinishedVertexCount()inthashCode()voidmergeRecvMessageStat(MessageStat messageStat)voidmergeSendMessageStat(MessageStat messageStat)longmessageRecvBytes()longmessageRecvCount()longmessageSendBytes()longmessageSendCount()intpartitionId()voidread(org.apache.hugegraph.computer.core.io.RandomAccessInput in)java.lang.StringtoString()longvertexCount()voidwrite(org.apache.hugegraph.computer.core.io.RandomAccessOutput out)
-
-
-
Method Detail
-
partitionId
public int partitionId()
-
vertexCount
public long vertexCount()
-
edgeCount
public long edgeCount()
-
finishedVertexCount
public long finishedVertexCount()
-
messageSendCount
public long messageSendCount()
-
messageSendBytes
public long messageSendBytes()
-
messageRecvCount
public long messageRecvCount()
-
messageRecvBytes
public long messageRecvBytes()
-
read
public void read(org.apache.hugegraph.computer.core.io.RandomAccessInput in) throws java.io.IOException- Specified by:
readin interfaceorg.apache.hugegraph.computer.core.io.Readable- Throws:
java.io.IOException
-
write
public void write(org.apache.hugegraph.computer.core.io.RandomAccessOutput out) throws java.io.IOException- Specified by:
writein interfaceorg.apache.hugegraph.computer.core.io.Writable- Throws:
java.io.IOException
-
mergeSendMessageStat
public void mergeSendMessageStat(MessageStat messageStat)
-
mergeRecvMessageStat
public void mergeRecvMessageStat(MessageStat messageStat)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-