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

Comparing jsr166/src/main/java/util/concurrent/Cancellable.java (file contents):
Revision 1.8 by dl, Wed Aug 6 00:20:00 2003 UTC vs.
Revision 1.9 by dl, Sun Aug 31 13:33:13 2003 UTC

# Line 12 | Line 12 | package java.util.concurrent;
12   * provided to determine if the task completed normally or was
13   * cancelled.
14   *
15 * @since 1.5
16 *
17 * @spec JSR-166
18 * @revised $Date$
19 * @editor $Author$
15   * @see FutureTask
16   * @see Executor
17 + * @since 1.5
18   * @author Doug Lea
19   */
20   public interface Cancellable {
# Line 28 | Line 24 | public interface Cancellable {
24       * fail if the task has already completed, already been cancelled,
25       * or could not be cancelled for some other reason. If successful,
26       * and this task has not started when <tt>cancel</tt> is called,
27 <     * this task will never run.  If the task has already started,
27 >     * this task should never run.  If the task has already started,
28       * then the <tt>interruptIfRunning</tt> parameter determines
29       * whether the thread executing this task should be interrupted in
30       * an attempt to stop the task.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines