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 Deprecated Methods Modifier and Type Method Description booleandetermineLastAttemptAndUpdateRetry(OutboundItemDTOGroup itemGroup)Deprecated, for removal: This API element is subject to removal in a future version.booleanhandleSyncFailure(OutboundItemDTOGroup dtoGroup)Handles an outbound synchronization failure for the specified DTO group.voidhandleSyncSuccess(OutboundItemDTOGroup itemGroup)Performs the necessary operations in the retry table to handle a successful synchronization
-
-
-
Method Detail
-
determineLastAttemptAndUpdateRetry
@Deprecated(since="1905.08-CEP", forRemoval=true) boolean determineLastAttemptAndUpdateRetry(OutboundItemDTOGroup itemGroup)Deprecated, for removal: This API element is subject to removal in a future version.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.
-
handleSyncFailure
boolean handleSyncFailure(OutboundItemDTOGroup dtoGroup)
Handles an outbound synchronization failure for the specified DTO group.- Parameters:
dtoGroup- a group of related items, for which a single synchronization should have been done but failed.- Returns:
true, if it was last attempt and no more future synchrinizations should be attempted for the specified item group;false, if more synchronizations should be attempted.
-
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
-
-