public static interface TimeoutScheduler.TimeoutEventListener
The task must register itself with a TimeoutScheduler
using
TimeoutScheduler.scheduleAtFixedRate(TimeoutEventListener)
method to be called back with
checkForTimeout(long)
method.
The task must de-register itself using TimeoutScheduler.removeScheduledTask(TimeoutEventListener)
to stop
being called back.
Modifier and Type | Method and Description |
---|---|
boolean |
checkForTimeout(long currentTime)
Check whether or not an operation timed-out.
|
boolean checkForTimeout(long currentTime)
currentTime
- Time to use as current time for any check.true
to be invoked again after a period of time, false
to de-register this task so
that it is never invoked again.Copyright 2011-2017 ForgeRock AS.