Interface IPollingHooks


public interface IPollingHooks
  • Method Details

    • afterStorage

      void afterStorage(IComplianceRepositoryReply reply)
      This method is invoked when the polling service has saved compliance reply into the compliance database.
      Parameters:
      reply - the compliance reply that was persisted
    • afterRevert

      void afterRevert(UUID sagaEventId, String replyIdentifier)
      This method is invoked if the (successful) reply belongs to a revert event, after the revert entry is stored in the compliance database.
      Parameters:
      sagaEventId - the id of the event that was reverted
      replyIdentifier - the id of the message in the external repository
    • getComplianceRepositoryId

      String getComplianceRepositoryId()
      The repository id (See IComplianceRepositoryInfo).
      Returns:
      the repository identifier as a String