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 。
|
run
compareTo
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.