List of usage examples for java.util.concurrent FutureTask subclass-usage
From source file org.apache.sling.hc.core.impl.executor.HealthCheckFuture.java
/** * Future to be able to schedule a health check for parallel execution. * */ class HealthCheckFuture extends FutureTask<ExecutionResult> {
From source file com.manning.androidhacks.hack040.util.LIFOTask.java
/** * User: William Sanville Date: 7/17/12 Time: 6:27 PM A class for use with a * priority queue that increases the priority as items are added. */ public class LIFOTask extends FutureTask<Object> implements Comparable<LIFOTask> { private static long counter = 0;
From source file com.anrisoftware.globalpom.threads.listenablefuture.DefaultListenableFuture.java
/**
* Informs property change listener when the task is finish.
*
* @author Erwin Mueller, erwin.mueller@deventm.org
* @since 1.5
*/
From source file com.flowpowered.engine.scheduler.FlowTask.java
/** * Represents a task which is executed periodically. */ public class FlowTask extends FutureTask<Void> implements Task { /** * The next task ID pending.