Skip to content

Most visited

Recently visited

navigation
Added in API level 9

RunnableScheduledFuture

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

java.util.concurrent.RunnableScheduledFuture<V>


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

See also:

Summary

Public methods

abstract boolean isPeriodic()

Returns true if this is a periodic task.

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 ()

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
boolean true if this task is periodic
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.