Package org.apache.batik.util
Interface RunnableQueue.IdleRunnable
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
SVGAnimationEngine.AnimationTickRunnable
,SVGAnimationEngine.DebugAnimationTickRunnable
- Enclosing class:
RunnableQueue
A
Runnable
that can also inform the caller how long it should
be until it is run again.-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the system time that can be safely waited until before thisRunnable
is run again.
-
Method Details
-
getWaitTime
long getWaitTime()Returns the system time that can be safely waited until before thisRunnable
is run again.- Returns:
- time to wait until,
0
if no waiting can be done, orLong.MAX_VALUE
if theRunnable
should not be run again at this time
-