|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProgressWorker
Used by the ProgressBar component to manage a threaded
piece of work in a tapestry page.
persist="session", but
it should be noted that if the server re-starts any workers that were
executing will probably not be resumed or serialized into the long-term
persistant storage of the managing servlet container.
| Method Summary | |
|---|---|
void |
cancelTask()
Can be invoked by a user inpatient to see the request completed. |
double |
getCurrentProgress()
Should represent a number value indicating the current progress value out of the total derived in getTotalProgress(). |
String |
getCurrentStatus()
If value not null will be used to display any textual information that may be useful to see along with the basic numeric values. |
double |
getTotalProgress()
The total value that this progress represents. |
boolean |
isComplete()
Should return true once the task is completed. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
double getTotalProgress()
ProgressBar.
double getCurrentProgress()
getTotalProgress().
String getCurrentStatus()
boolean isComplete()
void cancelTask()
isComplete() will return true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||