|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.tools.concurrent.AbstractFutureTask<R>
de.intarsys.tools.concurrent.TaskStep<R>
public class TaskStep<R>
experimental
Field Summary |
---|
Fields inherited from class de.intarsys.tools.concurrent.AbstractFutureTask |
---|
Log |
Constructor Summary | |
---|---|
TaskStep(TaskSequence sequence,
java.lang.Runnable task,
int percent)
|
Method Summary | |
---|---|
protected R |
compute()
|
int |
getPercent()
|
TaskSequence |
getSequence()
|
protected void |
onSubTaskChanged(java.lang.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 |
Constructor Detail |
---|
public TaskStep(TaskSequence sequence, java.lang.Runnable task, int percent)
Method Detail |
---|
protected R compute() throws java.lang.Exception
compute
in class AbstractFutureTask<R>
java.lang.Exception
public int getPercent()
public TaskSequence getSequence()
protected void onSubTaskChanged(java.lang.Object task)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |