Package org.jumpmind.symmetric.route
Class NonTransactionalBatchAlgorithm
java.lang.Object
org.jumpmind.symmetric.route.NonTransactionalBatchAlgorithm
- All Implemented Interfaces:
IBuiltInExtensionPoint
,IExtensionPoint
,IBatchAlgorithm
public class NonTransactionalBatchAlgorithm
extends Object
implements IBatchAlgorithm, IBuiltInExtensionPoint
Puts multiple transactions in a batch and ends exactly on the max batch size if there is more than the max batch size of data to batch. Breaks transactional
boundaries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isBatchComplete
(OutgoingBatch batch, DataMetaData dataMetaData, SimpleRouterContext routingContext)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
NonTransactionalBatchAlgorithm
public NonTransactionalBatchAlgorithm()
-
-
Method Details
-
isBatchComplete
public boolean isBatchComplete(OutgoingBatch batch, DataMetaData dataMetaData, SimpleRouterContext routingContext) - Specified by:
isBatchComplete
in interfaceIBatchAlgorithm
-