Package | Description |
---|---|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
Modifier and Type | Method and Description |
---|---|
protected <V> RunnableScheduledFuture<V> |
ScheduledThreadPoolExecutor.decorateTask(Callable<V> callable,
RunnableScheduledFuture<V> task)
Modifies or replaces the task used to execute a callable.
|
protected <V> RunnableScheduledFuture<V> |
ScheduledThreadPoolExecutor.decorateTask(Runnable runnable,
RunnableScheduledFuture<V> task)
Modifies or replaces the task used to execute a runnable.
|
Modifier and Type | Method and Description |
---|---|
protected <V> RunnableScheduledFuture<V> |
ScheduledThreadPoolExecutor.decorateTask(Callable<V> callable,
RunnableScheduledFuture<V> task)
Modifies or replaces the task used to execute a callable.
|
protected <V> RunnableScheduledFuture<V> |
ScheduledThreadPoolExecutor.decorateTask(Runnable runnable,
RunnableScheduledFuture<V> task)
Modifies or replaces the task used to execute a runnable.
|