Interface SyncRetryService
-
- All Known Implementing Classes:
DefaultSyncRetryService
public interface SyncRetryServiceService responsible for updating the persisted retries based on the results of the synchronization process
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandetermineLastAttemptAndUpdateRetry(OutboundItemDTOGroup itemGroup)Performs the necessary operations in the retry table to handle a synchronization errorOutboundItemDTOGroupand determines if it's the last attempt based on the configurationvoidhandleSyncSuccess(OutboundItemDTOGroup itemGroup)Performs the necessary operations in the retry table to handle a successful synchronization
-
-
-
Method Detail
-
determineLastAttemptAndUpdateRetry
boolean determineLastAttemptAndUpdateRetry(OutboundItemDTOGroup itemGroup)
Performs the necessary operations in the retry table to handle a synchronization errorOutboundItemDTOGroupand determines if it's the last attempt based on the configuration- Parameters:
itemGroup- with the information required for the search- Returns:
- true if it's the last attempt, false if it is not.
-
handleSyncSuccess
void handleSyncSuccess(OutboundItemDTOGroup itemGroup)
Performs the necessary operations in the retry table to handle a successful synchronization- Parameters:
itemGroup- of typeOutboundItemDTOGroupwith information about the successful synchronization
-
-