Package org.openspaces.core.gateway
Class SinkErrorHandlingFactoryBean
java.lang.Object
org.openspaces.core.gateway.SinkErrorHandlingFactoryBean
A factory bean used for configuring the Sink component error handling configuration.
- Since:
- 8.0.3
- Author:
- idan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGets theConflictResolverimplementation which is used with the Sink component.Gets the maximum retries number defined for a failed operation which failed due to transaction lock.Gets the defined time interval between failed operations retry attempts.voidsetConflictResolver(ConflictResolver conflictResolver) Sets theConflictResolverimplementation to be used with the Sink component.voidsetMaximumRetriesOnTransactionLock(Integer maximumRetriesOnTransactionLock) Sets the maximum retries number of a failed operation due to transaction lock.voidsetTransactionLockRetryInterval(Integer transactionLockRetryInterval) Sets the time interval between failed operations retry attempts.
-
Constructor Details
-
SinkErrorHandlingFactoryBean
public SinkErrorHandlingFactoryBean()
-
-
Method Details
-
setMaximumRetriesOnTransactionLock
Sets the maximum retries number of a failed operation due to transaction lock.- Parameters:
maximumRetriesOnTransactionLock- Maximum retries number.
-
getMaximumRetriesOnTransactionLock
Gets the maximum retries number defined for a failed operation which failed due to transaction lock.- Returns:
- Maximum retries count.
-
setTransactionLockRetryInterval
Sets the time interval between failed operations retry attempts.- Parameters:
transactionLockRetryInterval- Time interval between retry attempts.
-
getTransactionLockRetryInterval
Gets the defined time interval between failed operations retry attempts.- Returns:
- Time interval between attempts.
-
setConflictResolver
Sets theConflictResolverimplementation to be used with the Sink component.- Parameters:
conflictResolver- TheConflictResolverimplementation.
-
getConflictResolver
Gets theConflictResolverimplementation which is used with the Sink component.- Returns:
- The
ConflictResolverimplementation.
-
copyToSinkConfiguration
-