public interface TimeoutEventListener
The listener must register itself with a TimeoutChecker
using
TimeoutChecker#addListener()
method to be called back with
#handleTimeout
method.
The listener must deregister itself using
TimeoutChecker#removeListener()
to stop being called back.
Modifier and Type | Method and Description |
---|---|
long |
getTimeout()
Returns the timeout for this listener.
|
long |
handleTimeout(long currentTime)
Handle a timeout event.
|
long handleTimeout(long currentTime)
currentTime
- Time to use as current time for any check.long getTimeout()
Copyright 2010-2017 ForgeRock AS.