public static interface RunnableQueue.IdleRunnable extends Runnable
Runnable
that can also inform the caller how long it should
be until it is run again.Modifier and Type | Method and Description |
---|---|
long |
getWaitTime()
Returns the system time that can be safely waited until before this
Runnable is run again. |
long getWaitTime()
Runnable
is run again.0
if no waiting can
be done, or Long.MAX_VALUE
if the Runnable
should not be run again at this timeCopyright © 2000–2023 Apache Software Foundation. All rights reserved.