edu.emory.mathcs.backport.java.util.concurrent.RunnableScheduledFuture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-curves4 Show documentation
Show all versions of virtdata-lib-curves4 Show documentation
Statistical sampling library for use in virtdata libraries, based
on apache commons math 4
/*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/licenses/publicdomain
*/
package edu.emory.mathcs.backport.java.util.concurrent;
/**
* A {@link ScheduledFuture} that is {@link Runnable}. Successful
* execution of the run method causes completion of the
* Future and allows access to its results.
* @see FutureTask
* @see Executor
* @since 1.6
* @author Doug Lea
*/
public interface RunnableScheduledFuture extends RunnableFuture, ScheduledFuture {
/**
* 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.
*
* @return true if this task is periodic
*/
boolean isPeriodic();
}