Class StreamCapableTransactionalOperationAdapter
java.lang.Object
org.broadleafcommerce.common.util.StreamCapableTransactionalOperationAdapter
- All Implemented Interfaces:
StreamCapableTransactionalOperation,TransactionalOperation
public abstract class StreamCapableTransactionalOperationAdapter
extends Object
implements StreamCapableTransactionalOperation
- Author:
- Jeff Fischer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()voidexecuteAfterCommit(Object[] param) Object[]voidpagedExecute(Object[] param) Object[]retrievePage(int startPos, int pageSize) intvoidsetPagedItems(Object[] pagedItems) boolean
-
Field Details
-
pagedItems
-
-
Constructor Details
-
StreamCapableTransactionalOperationAdapter
public StreamCapableTransactionalOperationAdapter()
-
-
Method Details
-
pagedExecute
- Specified by:
pagedExecutein interfaceStreamCapableTransactionalOperation- Throws:
Throwable
-
executeAfterCommit
- Specified by:
executeAfterCommitin interfaceStreamCapableTransactionalOperation
-
execute
- Specified by:
executein interfaceTransactionalOperation- Throws:
Throwable
-
retrievePage
- Specified by:
retrievePagein interfaceStreamCapableTransactionalOperation
-
retrieveTotalCount
- Specified by:
retrieveTotalCountin interfaceStreamCapableTransactionalOperation
-
getPagedItems
-
setPagedItems
-
shouldRetryOnTransactionLockAcquisitionFailure
public boolean shouldRetryOnTransactionLockAcquisitionFailure()- Specified by:
shouldRetryOnTransactionLockAcquisitionFailurein interfaceStreamCapableTransactionalOperation
-
retryMaxCountOverrideForLockAcquisitionFailure
public int retryMaxCountOverrideForLockAcquisitionFailure()- Specified by:
retryMaxCountOverrideForLockAcquisitionFailurein interfaceStreamCapableTransactionalOperation
-