# | Line 15 | Line 15 | package java.util.concurrent; | |
---|---|---|
15 | * @param <V> The result type returned by this Future's <tt>get</tt> method | |
16 | */ | |
17 | public interface RunnableScheduledFuture<V> extends Runnable, ScheduledFuture<V> { | |
18 | + | |
19 | + | /** |
20 | + | * Returns true if this is a periodic task. A periodic task may |
21 | + | * re-run according to some schedule. A non-periodic task can be |
22 | + | * run only once. |
23 | + | * @return true if this task is periodic. |
24 | + | */ |
25 | + | boolean isPeriodic(); |
26 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |