public class TimeGate extends Object
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private int |
closeTime
The interval during which the gate is closed.
|
private long |
then
The time in milliseconds that the gate last closed.
|
Constructor and Description |
---|
TimeGate(int count)
Build a TimeGate that will allow entry no more often than count
milliseconds
|
private int closeTime
private long then