OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [external/] [jsr166/] [java/] [util/] [concurrent/] [RunnableScheduledFuture.java] - Blame information for rev 768

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 768 jeremybenn
/*
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
 
9
/**
10
 * A {@link ScheduledFuture} that is {@link Runnable}. Successful
11
 * execution of the <tt>run</tt> method causes completion of the
12
 * <tt>Future</tt> and allows access to its results.
13
 * @see FutureTask
14
 * @see Executor
15
 * @since 1.6
16
 * @author Doug Lea
17
 * @param <V> The result type returned by this Future's <tt>get</tt> method
18
 */
19
public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
20
 
21
    /**
22
     * Returns true if this is a periodic task. A periodic task may
23
     * re-run according to some schedule. A non-periodic task can be
24
     * run only once.
25
     *
26
     * @return true if this task is periodic
27
     */
28
    boolean isPeriodic();
29
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.