Package de.intarsys.tools.concurrent
Class TaskStep<R>
java.lang.Object
de.intarsys.tools.concurrent.AbstractFutureTask<R>
de.intarsys.tools.concurrent.TaskStep<R>
experimental
-
Field Summary
Fields inherited from class de.intarsys.tools.concurrent.AbstractFutureTask
Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected R
compute()
int
protected void
onSubTaskChanged
(Object task) Methods inherited from class de.intarsys.tools.concurrent.AbstractFutureTask
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
-
Constructor Details
-
TaskStep
-
-
Method Details
-
compute
- Specified by:
compute
in classAbstractFutureTask<R>
- Throws:
Exception
-
getPercent
public int getPercent() -
getSequence
-
onSubTaskChanged
-