Interface SyncRetryService

All Known Implementing Classes:
DefaultSyncRetryService

public interface SyncRetryService
Service responsible for updating the persisted retries based on the results of the synchronization process
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Handles an outbound synchronization failure for the specified DTO group.
    void
    Performs the necessary operations in the retry table to handle a successful synchronization
  • Method Details

    • 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 type OutboundItemDTOGroup with information about the successful synchronization