Package org.jumpmind.symmetric.route
Class DefaultBatchAlgorithm
java.lang.Object
org.jumpmind.symmetric.route.DefaultBatchAlgorithm
- All Implemented Interfaces:
IBuiltInExtensionPoint
,IExtensionPoint
,IBatchAlgorithm
public class DefaultBatchAlgorithm
extends Object
implements IBatchAlgorithm, IBuiltInExtensionPoint
Batch algorithm that puts multiple transactions in the same batch up to the max batch size, but never breaks a transaction boundary
-
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
-
DefaultBatchAlgorithm
public DefaultBatchAlgorithm()
-
-
Method Details
-
isBatchComplete
public boolean isBatchComplete(OutgoingBatch batch, DataMetaData dataMetaData, SimpleRouterContext routingContext) - Specified by:
isBatchComplete
in interfaceIBatchAlgorithm
-