Class MessageRecvPartitions<P extends MessageRecvPartition>

    • Field Detail

      • context

        protected final org.apache.hugegraph.computer.core.common.ComputerContext context
      • config

        protected final org.apache.hugegraph.computer.core.config.Config config
    • Constructor Detail

      • MessageRecvPartitions

        public MessageRecvPartitions​(org.apache.hugegraph.computer.core.common.ComputerContext context,
                                     SuperstepFileGenerator fileGenerator,
                                     SortManager sortManager)
    • Method Detail

      • createPartition

        protected abstract P createPartition()
      • addBuffer

        public void addBuffer​(int partitionId,
                              NetworkBuffer buffer)
      • genOutputPath

        public java.lang.String genOutputPath​(int partitionId)
      • messageStats

        public java.util.Map<java.lang.Integer,​MessageStat> messageStats()
      • clearOldFiles

        public void clearOldFiles​(int superstep)