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 Rcompute()intprotected voidonSubTaskChanged(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, undoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
TaskStep
-
-
Method Details
-
compute
- Specified by:
computein classAbstractFutureTask<R>- Throws:
Exception
-
getPercent
public int getPercent() -
getSequence
-
onSubTaskChanged
-