Package org.epics.ca.impl.search
Class SearchTimer.TimerTask
- java.lang.Object
-
- org.epics.ca.impl.search.SearchTimer.TimerTask
-
- All Implemented Interfaces:
java.lang.Comparable<SearchTimer.TimerTask>
- Enclosing class:
- SearchTimer
public abstract static class SearchTimer.TimerTask extends java.lang.Object implements java.lang.Comparable<SearchTimer.TimerTask>
-
-
Constructor Summary
Constructors Constructor Description TimerTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(SearchTimer.TimerTask 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(SearchTimer.TimerTask other)
- Specified by:
compareToin interfacejava.lang.Comparable<SearchTimer.TimerTask>
-
timeout
public abstract long timeout()
Method invoked by timer at requested time.- Returns:
- delay (in ms) after which to reschedule, not rescheduled if <= 0.
-
-