Package com.cosylab.epics.caj.util
Class SearchTimer.TimerTask
- java.lang.Object
-
- com.cosylab.epics.caj.util.SearchTimer.TimerTask
-
- All Implemented Interfaces:
Comparable
- Enclosing class:
- SearchTimer
public abstract static class SearchTimer.TimerTask extends Object implements Comparable
-
-
Constructor Summary
Constructors Constructor Description TimerTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object other)longgetDelay()longgetTimeToRun()abstract longtimeout()Method invoked by timer at requested time.
-
-
-
Method Detail
-
getTimeToRun
public long getTimeToRun()
-
getDelay
public long getDelay()
-
compareTo
public int compareTo(Object other)
- Specified by:
compareToin interfaceComparable
-
timeout
public abstract long timeout()
Method invoked by timer at requested time.- Returns:
- delay (in ms) after which to reschedule, not rescheduled if <= 0.
-
-