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

Comparing jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java (file contents):
Revision 1.143 by jsr166, Mon Feb 11 03:02:51 2013 UTC vs.
Revision 1.144 by jsr166, Mon Feb 11 03:13:03 2013 UTC

# Line 1465 | Line 1465 | public class ThreadPoolExecutor extends
1465       * Returns the thread factory used to create new threads.
1466       *
1467       * @return the current thread factory
1468 <     * @see #setThreadFactory
1468 >     * @see #setThreadFactory(ThreadFactory)
1469       */
1470      public ThreadFactory getThreadFactory() {
1471          return threadFactory;
# Line 1488 | Line 1488 | public class ThreadPoolExecutor extends
1488       * Returns the current handler for unexecutable tasks.
1489       *
1490       * @return the current handler
1491 <     * @see #setRejectedExecutionHandler
1491 >     * @see #setRejectedExecutionHandler(RejectedExecutionHandler)
1492       */
1493      public RejectedExecutionHandler getRejectedExecutionHandler() {
1494          return handler;
# Line 1660 | Line 1660 | public class ThreadPoolExecutor extends
1660       * @param unit the time unit of the {@code time} argument
1661       * @throws IllegalArgumentException if {@code time} less than zero or
1662       *         if {@code time} is zero and {@code allowsCoreThreadTimeOut}
1663 <     * @see #getKeepAliveTime
1663 >     * @see #getKeepAliveTime(TimeUnit)
1664       */
1665      public void setKeepAliveTime(long time, TimeUnit unit) {
1666          if (time < 0)
# Line 1681 | Line 1681 | public class ThreadPoolExecutor extends
1681       *
1682       * @param unit the desired time unit of the result
1683       * @return the time limit
1684 <     * @see #setKeepAliveTime
1684 >     * @see #setKeepAliveTime(long, TimeUnit)
1685       */
1686      public long getKeepAliveTime(TimeUnit unit) {
1687          return unit.convert(keepAliveTime, TimeUnit.NANOSECONDS);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines