Class SuperstepStat

  • All Implemented Interfaces:
    org.apache.hugegraph.computer.core.io.Readable, org.apache.hugegraph.computer.core.io.Writable

    public class SuperstepStat
    extends java.lang.Object
    implements org.apache.hugegraph.computer.core.io.Readable, org.apache.hugegraph.computer.core.io.Writable
    It is sent from master to workers.
    • Constructor Detail

      • SuperstepStat

        public SuperstepStat()
    • Method Detail

      • increase

        public void increase​(PartitionStat partitionStat)
      • increase

        public void increase​(WorkerStat workerStat)
      • 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()
      • inactivate

        public void inactivate()
      • active

        public boolean active()
      • 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
      • 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