|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Processes work units received through the result handler.
| Method Summary | |
void |
checkResult(WorkUnit workUnit,
byte[] result)
Checks work units received through the result handler |
boolean |
processResult(java.sql.Statement stmt,
WorkUnit workUnit,
byte[] result,
boolean recomputation)
Processes work units received through the result handler |
| Methods inherited from interface zeta.processor.TaskProcessor |
getWorkUnit, init |
| Method Detail |
public void checkResult(WorkUnit workUnit,
byte[] result)
throws java.lang.Exception
workUnit - work unit which should be checkedresult - buffer with the zipped result
java.lang.Exception
public boolean processResult(java.sql.Statement stmt,
WorkUnit workUnit,
byte[] result,
boolean recomputation)
throws javax.servlet.ServletException,
java.sql.SQLException,
java.io.IOException
stmt - statement object's databaseworkUnit - work unit which should be processedresult - buffer with the zipped resultrecomputation - if the result was recomputed
true if the ResultHandler shall save the result into the database.
java.io.IOException - if an I/O error occurs.
javax.servlet.ServletException
java.sql.SQLException
|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||