Class AutoConfigRegistryAgent.ResultCountTracker

  • Enclosing class:
    AutoConfigRegistryAgent

    public class AutoConfigRegistryAgent.ResultCountTracker
    extends java.lang.Object
    Helper class for tracking the results and deciding if too_less or many superpeers have been found.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int foundless
      Counts how ofter less superpeers than necessary.
      protected int foundmore
      Counts how ofter more superpeers than necessary.
      protected java.util.List<java.lang.Integer> resultcounts
      The number of results in each round.
    • Field Detail

      • resultcounts

        protected java.util.List<java.lang.Integer> resultcounts
        The number of results in each round.
      • foundmore

        protected int foundmore
        Counts how ofter more superpeers than necessary.
      • foundless

        protected int foundless
        Counts how ofter less superpeers than necessary.
    • Constructor Detail

      • ResultCountTracker

        public ResultCountTracker()
    • Method Detail

      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object