|
||||||||||
| 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 | |
|---|---|
java.util.concurrent.Future<V> |
schedule(java.util.concurrent.Callable<V> c,
long delay,
java.util.concurrent.TimeUnit unit)
Schedule a callable to be run in the future. |
java.util.concurrent.Future<?> |
schedule(java.lang.Runnable r,
long delay,
java.util.concurrent.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 |
|---|
java.util.concurrent.Future<V> schedule(java.util.concurrent.Callable<V> c,
long delay,
java.util.concurrent.TimeUnit unit)
c - the callabledelay - how long to waitunit - time unit for the delay
java.util.concurrent.Future<?> schedule(java.lang.Runnable r,
long delay,
java.util.concurrent.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 | |||||||||