Most visited

Recently visited

Added in API level 9

RunnableScheduledFuture

public interface RunnableScheduledFuture
implements RunnableFuture<V>, ScheduledFuture<V>

java.util.concurrent.RunnableScheduledFuture<V>


ScheduledFutureRunnable run方法的成功执行导致完成Future并允许访问其结果。

也可以看看:

摘要(Summary)

公共方法(Public methods)

abstract boolean isPeriodic()

如果此任务是定期的,则返回 true

继承方法(Inherited methods)

From interface java.util.concurrent.RunnableFuture
From interface java.lang.Runnable
From interface java.util.concurrent.Future
From interface java.util.concurrent.Delayed
From interface java.lang.Comparable

公共方法(Public methods)

isPeriodic

Added in API level 9
boolean isPeriodic ()

如果此任务是定期的,则返回true 定期任务可以按照某个时间表重新运行。 非周期性任务只能运行一次。

返回(Returns)
boolean true if this task is periodic

Hooray!