|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Timer | +--org.mitre.jdas.LockoutTimer
The LockoutTimer
class sets a lockout flag for a period of time
specified by the Controller.getLockoutDelay()
method. Multiple threads
can fire the timer, but the timer delays concurrently rather than consequtively.
Controller.getLockoutDelay()
Constructor Summary | |
LockoutTimer(Controller controller)
Extracts the lockout delay from the Controller object. |
Method Summary | |
void |
fire()
Fires a new lockout timer task to clear the lockout flag after a specified length of time. |
boolean |
isActive()
|
Methods inherited from class java.util.Timer |
cancel, schedule, schedule, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LockoutTimer(Controller controller)
Controller
object.Controller
Method Detail |
public void fire()
public boolean isActive()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |