|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Batchable
The Batchable interface specifies the set of methods that a class needs to implement to allow persistence to the data store in a batched manner as opposed to singleton object saves.
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
java.util.List<ExtendedValidationErrors> |
flushBatch()
This is the method where the implementing class sends the queued up objects to the data store. |
BatchStatistics |
getBatchProcessingStatistics()
This method returns the current set of statistics related to a given batching session (all actions from the call to startBatchProcessing to current point in time). |
void |
startBatchProcessing()
This is the setup method for batch processing. |
java.util.List<ExtendedValidationErrors> |
stopBatchProcessing()
This is the tear-down method for batch processing. |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
void startBatchProcessing()
java.lang.UnsupportedOperationException
- If the object under batching is already under another batch,
for ex, an import in progress on the catalog.
PIMInternalException
- If an internal error occursjava.util.List<ExtendedValidationErrors> flushBatch()
PIMInternalException
- If an internal error occurs
java.lang.UnsupportedOperationException
- If the object that supports batching is not under the batch
operationjava.util.List<ExtendedValidationErrors> stopBatchProcessing()
PIMInternalException
- If an internal error occurs
java.lang.UnsupportedOperationException
- If the object that supports batching is not under the batch
operationBatchStatistics getBatchProcessingStatistics()
PIMInternalException
- If an internal error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |