de.intarsys.tools.concurrent
public class TaskSequence<R> extends AbstractFutureTask<R>
Log
Constructor and Description |
---|
TaskSequence(java.lang.String labelPrefix) |
Modifier and Type | Method and Description |
---|---|
void |
addTask(java.lang.Runnable task,
int percent) |
protected R |
compute() |
protected java.lang.String |
getLabelPrefix() |
protected java.lang.String |
getLabelSuffix() |
void |
setLabelPrefix(java.lang.String labelPrefix) |
basicGetException, basicGetResult, cancel, computeAsync, get, get, getException, handleException, handleFinally, handleResult, isActive, isCancelled, isDone, isFailed, reset, run, runAsync, setException, setResult, taskCancelled, taskFailed, taskFinally, taskFinished, taskStarted, toString, undo
public void addTask(java.lang.Runnable task, int percent)
protected R compute() throws java.lang.Exception
compute
in class AbstractFutureTask<R>
java.lang.Exception
protected java.lang.String getLabelPrefix()
protected java.lang.String getLabelSuffix()
public void setLabelPrefix(java.lang.String labelPrefix)