Class 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 Detail

      • PartitionStat

        public PartitionStat()
      • PartitionStat

        public PartitionStat​(int partitionId,
                             long vertexCount,
                             long edgeCount,
                             long finishedVertexCount)
    • 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:
        read in interface org.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:
        write in interface org.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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object