Package org.jitsi.utils.concurrent
Interface RecurringRunnable
-
- All Implemented Interfaces:
-
java.lang.Runnable
public interface RecurringRunnable implements Runnable
Represents an asynchronous processable task which determines the intervals (the lengths of which may vary) at which it is to be invoked. webrtc/modules/interface/module.h
Lyubomir Marinov
George Politis
-
-
Method Summary
Modifier and Type Method Description abstract longgetTimeUntilNextRun()Returns the number of milliseconds until this instance wants a worker thread to call run. -
-
Method Detail
-
getTimeUntilNextRun
abstract long getTimeUntilNextRun()
Returns the number of milliseconds until this instance wants a worker thread to call run. The method is called on the same worker thread as Process will be called on.
- Returns:
the number of milliseconds until this instance wants a worker thread to call run
-
-
-
-