class Threshold extends Object
Defined by maximum connection attempts over a time period in seconds.
| Modifier and Type | Field and Description |
|---|---|
(package private) static Threshold | ALLOWA Threshold that is never breached |
(package private) static Threshold | DENYA Threshold that is always breached |
| Constructor and Description |
|---|
Threshold(int connections,
int seconds)Threshold |
| Modifier and Type | Method and Description |
|---|---|
(package private) int | getConnections() |
(package private) int | getSeconds() |