|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScheduledCompletionService<V>
Extended completion service allowing future tasks to also be tracked.
| Method Summary | |
|---|---|
Future<V> |
schedule(Callable<V> c,
long delay,
TimeUnit unit)
Schedule a callable to be run in the future. |
Future<?> |
schedule(Runnable r,
long delay,
TimeUnit unit)
Schedule a runnable to be run in the future. |
| Methods inherited from interface java.util.concurrent.CompletionService |
|---|
poll, poll, submit, submit, take |
| Method Detail |
|---|
Future<V> schedule(Callable<V> c,
long delay,
TimeUnit unit)
c - the callabledelay - how long to waitunit - time unit for the delay
Future<?> schedule(Runnable r,
long delay,
TimeUnit unit)
r - the runnabledelay - how long to waitunit - time unit for the delay
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||