IBM FileNet P8, Version 5.2            

Batches

A batch accumulates and packages multiple operations (method calls) on objects. The batch is then executed in a single operation.

A batch can significantly improve performance. Consider using a batch when application logic lends itself to executing a series of operations that can be completed without application intervention between batch items. For example, an application could create a Folder, create a Document, and create a DynamicReferentialContainmentRelationship object for filing the Document in the Folder, all within a single UpdatingBatch. The Content Engine server performs updates to the objects in the same order as they appear in an UpdatingBatch. Batch processing is suitable for retrieving property values for multiple objects via a RetrievingBatch. In that case, properties to be fetched are specified independently for each object, and all of the property fetches are executed in a single round trip to the server.

Each operation included in a batch is referenced as a BatchItemHandle instance. A batch is a subclass of the Batch abstract class, and contains the list of BatchItemHandle instances. Whether a batch is a transactional operation depends on its type:



Feedback

Last updated: October 2013
batch_concepts.htm

© Copyright IBM Corporation 2014.
This information center is powered by Eclipse technology. (http://www.eclipse.org)