| 
JavaTM 2 Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 RunnableScheduledFuture 的软件包 | |
|---|---|
| java.util.concurrent | 在并发编程中很常用的实用工具类。 | 
| java.util.concurrent 中 RunnableScheduledFuture 的使用 | 
|---|
| 返回 RunnableScheduledFuture 的 java.util.concurrent 中的方法 | ||
|---|---|---|
protected 
 | 
ScheduledThreadPoolExecutor.decorateTask(Callable<V> callable,
             RunnableScheduledFuture<V> task)
修改或替换用于执行 callable 的任务。  | 
|
protected 
 | 
ScheduledThreadPoolExecutor.decorateTask(Runnable runnable,
             RunnableScheduledFuture<V> task)
修改或替换用于执行 runnable 的任务。  | 
|
| 参数类型为 RunnableScheduledFuture 的 java.util.concurrent 中的方法 | ||
|---|---|---|
protected 
 | 
ScheduledThreadPoolExecutor.decorateTask(Callable<V> callable,
             RunnableScheduledFuture<V> task)
修改或替换用于执行 callable 的任务。  | 
|
protected 
 | 
ScheduledThreadPoolExecutor.decorateTask(Runnable runnable,
             RunnableScheduledFuture<V> task)
修改或替换用于执行 runnable 的任务。  | 
|
  | 
JavaTM 2 Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。