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

Comparing jsr166/src/main/java/util/concurrent/ExecutorService.java (file contents):
Revision 1.2 by jozart, Tue May 27 18:15:49 2003 UTC vs.
Revision 1.3 by dl, Tue Jun 3 16:44:36 2003 UTC

# Line 78 | Line 78 | public interface ExecutorService extends
78       */
79      boolean awaitTermination(long timeout, TimeUnit unit)
80          throws InterruptedException;
81 +
82 +
83 +    /**
84 +     * Prevent this task from executing if it has not already
85 +     * commenced executing. This method provides only best-effort
86 +     * effects, and may fail for any reason.
87 +     * d
88 +     * #return true if the task was removed
89 +     */
90 +    boolean remove(Runnable task);
91   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines