V - 此 Future 的
get 方法所返回的结果类型。
public interface RunnableScheduledFuture<V>
作为 Runnable 的 ScheduledFuture。成功执行 run 方法可以完成 Future 并允许访问其结果。
FutureTask,
Executor
| 方法摘要 | |
|---|---|
boolean |
isPeriodic() 如果这是一个定期任务,则返回 true。 |
| 从接口 java.util.concurrent.RunnableFuture 继承的方法 |
|---|
run |
| 从接口 java.util.concurrent.Delayed 继承的方法 |
|---|
getDelay |
| 从接口 java.lang.Comparable 继承的方法 |
|---|
compareTo |
| 从接口 java.util.concurrent.Future 继承的方法 |
|---|
cancel, get, get, isCancelled, isDone |
| 方法详细信息 |
|---|
boolean isPeriodic()