Class Threshold

java.lang.Object
net.i2p.i2ptunnel.access.Threshold

class Threshold extends Object
Definition of a Threshold. A Threshold is defined by a number of connections over a period of seconds
Since:
0.9.40
  • Field Details

    • ALLOW

      static final Threshold ALLOW
      A Threshold that is never breached
    • DENY

      static final Threshold DENY
      A Threshold that is always breached
  • Constructor Details

    • Threshold

      Threshold(int connections, int seconds)
  • Method Details

    • getConnections

      int getConnections()
    • getSeconds

      int getSeconds()