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

Comparing jsr166/src/main/java/util/concurrent/RejectedExecutionHandler.java (file contents):
Revision 1.3 by tim, Thu Jul 31 20:32:00 2003 UTC vs.
Revision 1.4 by dl, Sun Aug 31 13:33:13 2003 UTC

# Line 7 | Line 7
7   package java.util.concurrent;
8  
9   /**
10 < * A handler for tasks that cannot be executed by a {@link ThreadPoolExecutor}.
10 > * A handler for tasks that cannot be executed by a {@link
11 > * ThreadPoolExecutor}.
12   *
13   * @since 1.5
13 *
14 * @spec JSR-166
15 * @revised $Date$
16 * @editor $Author$
14   * @author Doug Lea
15   */
16   public interface RejectedExecutionHandler {
17  
18      /**
19 <     * Method invoked by <tt>ThreadPoolExecutor</tt> when
20 <     * <tt>execute</tt> cannot submit a task. This may occur when no
19 >     * Method that may be invoked by a {@link ThreadPoolExecutor} when
20 >     * <tt>execute</tt> cannot accept a task. This may occur when no
21       * more threads or queue slots are available because their bounds
22       * would be exceeded, or upon shutdown of the Executor.
23       *
24       * In the absence other alternatives, the method may throw an
25 <     * unchecked <tt>RejectedExecutionException</tt>, which will be
25 >     * unchecked {@link RejectedExecutionException}, which will be
26       * propagated to the caller of <tt>execute</tt>.
27       *
28       * @param r the runnable task requested to be executed

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines