|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--zeta.processor.DefaultWorkUnitProcessor
|
+--zeta.processor.SimpleFileProcessor
Processes work units as files received through the result handler.
| Constructor Summary | |
SimpleFileProcessor()
|
|
| Method Summary | |
boolean |
processResult(java.sql.Statement stmt,
WorkUnit workUnit,
byte[] result,
boolean recomputation)
Processes work units received through the result handler |
| Methods inherited from class zeta.processor.DefaultWorkUnitProcessor |
activateWorkUnit, checkResult, getParameters, getWorkUnit, init |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleFileProcessor()
| Method Detail |
public boolean processResult(java.sql.Statement stmt,
WorkUnit workUnit,
byte[] result,
boolean recomputation)
throws javax.servlet.ServletException,
java.sql.SQLException,
java.io.IOException
processResult in interface TaskResultProcessorprocessResult in class DefaultWorkUnitProcessorstmt - 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 | |||||||||