ScheduledFutureV


ScheduledFuture<V> java.util.concurrent

Java 5.0 comparable

This interface extends Future and Delayed and adds no methods of its own. A ScheduledFuture represents a computation and the future result of that computation just as Future does, but it adds a getdelay( ) method that returns the amount of time until the computation begins. See ScheduledExecutorService .

Figure 16-90. java.util.concurrent.ScheduledFuture<V>

 public interface  ScheduledFuture<V>  extends DelayedFuture<V> { } 

Returned By

ScheduledExecutorService.{schedule( ) , scheduleAtFixedRate( ) , scheduleWithFixedDelay( )} , ScheduledThreadPoolExecutor.{schedule( ) , scheduleAtFixedRate( ) , scheduleWithFixedDelay( )}



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net