ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/RunnableScheduledFuture.java
Revision: 1.5
Committed: Wed Aug 24 05:14:02 2005 UTC (18 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +1 -0 lines
Log Message:
workaround for 6280605

File Contents

# Content
1 /*
2 * Written by Doug Lea with assistance from members of JCP JSR-166
3 * Expert Group and released to the public domain, as explained at
4 * http://creativecommons.org/licenses/publicdomain
5 */
6
7 package java.util.concurrent;
8 import java.util.concurrent.*; // for javadoc (till 6280605 is fixed)
9
10 /**
11 * A {@link ScheduledFuture} that is {@link Runnable}. Successful
12 * execution of the <tt>run</tt> method causes completion of the
13 * <tt>Future</tt> and allows access to its results.
14 * @see FutureTask
15 * @see Executor
16 * @since 1.6
17 * @author Doug Lea
18 * @param <V> The result type returned by this Future's <tt>get</tt> method
19 */
20 public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
21
22 /**
23 * Returns true if this is a periodic task. A periodic task may
24 * re-run according to some schedule. A non-periodic task can be
25 * run only once.
26 *
27 * @return true if this task is periodic
28 */
29 boolean isPeriodic();
30 }