diff --git a/core/java/src/net/i2p/util/SimpleScheduler.java b/core/java/src/net/i2p/util/SimpleScheduler.java index 2b1ddf44f..f764debe9 100644 --- a/core/java/src/net/i2p/util/SimpleScheduler.java +++ b/core/java/src/net/i2p/util/SimpleScheduler.java @@ -69,6 +69,13 @@ public class SimpleScheduler { re.schedule(); } + /** + * Queue up the given event to be fired after timeoutMs and every + * timeoutMs thereafter. The TimedEvent must not do its own rescheduling. + * As all Exceptions are caught in run(), these will not prevent + * subsequent executions (unlike SimpleTimer, where the TimedEvent does + * its own rescheduling). + */ public void addPeriodicEvent(SimpleTimer.TimedEvent event, long timeoutMs) { addPeriodicEvent(event, timeoutMs, timeoutMs); }