Package de.intarsys.tools.concurrent
Class TaskStep<R>
java.lang.Object
de.intarsys.tools.concurrent.AbstractFutureTask<R>
de.intarsys.tools.concurrent.TaskStep<R>
experimental
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
TaskStep
-
-
Method Details
-
compute
- Specified by:
compute
in classAbstractFutureTask<R>
- Throws:
Exception
-
getPercent
public int getPercent() -
getSequence
-
onSubTaskChanged
-