public interface PeriodicRunnable
Modifier and Type | Method and Description |
---|---|
void |
run()
the method that will be called periodically on a thread
|
void run() throws java.lang.InterruptedException
java.lang.InterruptedException
- thrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through)