|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Batchable
Provides a mechanism for holding onto yet-to-be-committed prepared statements calls to a JDBC database (inserts/updates and deletes) with all the parameters set for later batch commits via the BatchExecuter class. This interface may be implemented by classes providing access to relational data allowing an application request changes to the data and then add the batchable instance to a BatchOperationQueue which will handle commits to the database in an efficient manner.
BatchExecuter,
Batchable.BatchOperation| Nested Class Summary | |
|---|---|
static class |
Batchable.BatchGroup
Groups together a set of batches into one. |
static class |
Batchable.BatchOperation
Base of all operations that are to be delayed and batched later. |
static class |
Batchable.BatchOperationSet
BatchOperationSet combines set of BatchOperations into one Batchable object |
static class |
Batchable.NullBatch
Simple implementation of Batchable that does nothing except serve as a place holder. |
| Field Summary | |
|---|---|
static Batchable.NullBatch |
EMPTY_BATCH
Simple reference of NullBatch that does nothing except serve as a place holder. |
| Method Summary | |
|---|---|
java.util.List<Batchable.BatchOperation> |
listBatchOperations()
Get the current list of batch operations for this object |
| Field Detail |
|---|
static final Batchable.NullBatch EMPTY_BATCH
| Method Detail |
|---|
java.util.List<Batchable.BatchOperation> listBatchOperations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||