|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BatchExecuter.BatchHandler
Methods that get run before and after the executor executes the batchables
| Method Summary | |
|---|---|
boolean |
onAfterBatch(java.lang.Object sender,
BatchOperationQueue boq,
java.util.TreeMap<java.lang.String,java.util.Map<Batchable.BatchOperation.ParamKey,java.sql.PreparedStatement>> preparedStatements)
Method to run after executing the queue |
boolean |
onBeforeBatch(java.lang.Object sender,
BatchOperationQueue boq,
java.util.TreeMap<java.lang.String,java.util.Map<Batchable.BatchOperation.ParamKey,java.sql.PreparedStatement>> preparedStatements)
Method to run before executing the queue |
| Method Detail |
|---|
boolean onBeforeBatch(java.lang.Object sender,
BatchOperationQueue boq,
java.util.TreeMap<java.lang.String,java.util.Map<Batchable.BatchOperation.ParamKey,java.sql.PreparedStatement>> preparedStatements)
throws java.sql.SQLException
sender - object running the executeboq - queue of batch operationspreparedStatements - set of prepared statements with operations
java.sql.SQLException - if there was an error with the batch operations
boolean onAfterBatch(java.lang.Object sender,
BatchOperationQueue boq,
java.util.TreeMap<java.lang.String,java.util.Map<Batchable.BatchOperation.ParamKey,java.sql.PreparedStatement>> preparedStatements)
throws java.sql.SQLException
sender - object running the executeboq - queue of batch operationspreparedStatements - set of prepared statements with operations
java.sql.SQLException - if there was an error with the batch operations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||