to top
Android APIs
public interface


implements RunnableFuture<V> ScheduledFuture<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.


Public Methods
abstract boolean isPeriodic()
Returns true if this is a periodic task.
Inherited Methods
From interface java.lang.Comparable
From interface java.lang.Runnable
From interface java.util.concurrent.Delayed
From interface java.util.concurrent.Future
From interface java.util.concurrent.RunnableFuture

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.

  • true if this task is periodic