Package net.i2p.i2ptunnel.access
Class Threshold
java.lang.Object
net.i2p.i2ptunnel.access.Threshold
Definition of a Threshold.
A Threshold is defined by a number of connections over a period of seconds
- Since:
- 0.9.40
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) int
-
Field Details
-
ALLOW
A Threshold that is never breached -
DENY
A Threshold that is always breached
-
-
Constructor Details
-
Threshold
Threshold(int connections, int seconds)
-
-
Method Details
-
getConnections
int getConnections() -
getSeconds
int getSeconds()
-