Android APIs
public interface

RunnableScheduledFuture

implements RunnableFuture<V> ScheduledFuture<V>
java.util.concurrent.RunnableScheduledFuture<V>

Class Overview

A ScheduledFuture that is Runnable. Successful execution of the run method causes completion of the Future and allows access to its results.

Summary

Public Methods
abstract boolean isPeriodic()
Returns true if this is a periodic task.
[Expand]
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

public abstract boolean isPeriodic ()

Added in API level 9

Returns true if this is a periodic task. A periodic task may re-run according to some schedule. A non-periodic task can be run only once.

Returns
  • true if this task is periodic