ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/RunnableScheduledFuture.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/RunnableScheduledFuture.java (file contents):
Revision 1.1 by peierls, Tue May 17 04:17:05 2005 UTC vs.
Revision 1.2 by dl, Tue May 17 13:08:08 2005 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines