Class CapacityCalculator

  • class CapacityCalculator
    extends Object
    Estimate how many of our tunnels the peer can join per hour.
    • Field Detail


        static final long GROWTH_FACTOR
        used to adjust each period so that we keep trying to expand the peer's capacity
        See Also:
        Constant Field Values
    • Constructor Detail

      • CapacityCalculator

    • Method Detail

      • calc

        public static double calc​(PeerProfile profile)