V - 未来的
get方法返回的结果类型
public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V>
ScheduledFuture那是Runnable 。
成功执行run方法会导致完成Future并允许访问其结果。
FutureTask , Executor
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPeriodic()
如果此任务是周期性的,则返回
true 。
|
runcompareTo Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.