1 |
dl |
1.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/publicdomain/zero/1.0/ |
5 |
|
|
*/ |
6 |
|
|
|
7 |
|
|
package java.util.concurrent; |
8 |
|
|
|
9 |
|
|
/** |
10 |
|
|
* A delayed result-bearing action that can be cancelled. |
11 |
|
|
* Usually a scheduled future is the result of scheduling |
12 |
|
|
* a task with a {@link ScheduledExecutorService}. |
13 |
|
|
* |
14 |
|
|
* @since 1.5 |
15 |
|
|
* @author Doug Lea |
16 |
|
|
* @param <V> The result type returned by this Future |
17 |
|
|
*/ |
18 |
|
|
public interface ScheduledFuture<V> extends Delayed, Future<V> { |
19 |
|
|
} |