Package net.i2p.i2ptunnel.access
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 Summary
-
Constructor Summary
Constructors Constructor Description Threshold(int connections, int seconds)
-
Method Summary
Modifier and Type Method Description (package private) int
getConnections()
(package private) int
getSeconds()
-
Field Details
-
Constructor Details
-
Threshold
Threshold(int connections, int seconds)
-
-
Method Details
-
getConnections
int getConnections() -
getSeconds
int getSeconds()
-