Interface EventRecoveryRequestIssuer

All Known Implementing Classes:
RecoveryManagerImpl

public interface EventRecoveryRequestIssuer
Defines utility methods used to handle specific event recovery requests
  • Method Summary

    Modifier and Type
    Method
    Description
    Initiates a odds recovery procedure for the event associated with the provided Urn identifier on the requested Producer (The odds recovery procedure re-sends all odds for all markets for a sport event) Note: The event must be either EventStatus.NotStarted or EventStatus.Live
    Initiates a stateful recovery procedure for the event associated with the provided Urn identifier on the requested Producer (The stateful message recovery procedure re-sends all stateful-messages (BetSettlement, RollbackBetSettlement, BetCancel, UndoBetCancel) for a sport event) Note: The event can be up to 30 days in the past
  • Method Details

    • initiateEventOddsMessagesRecovery

      Long initiateEventOddsMessagesRecovery(Producer producer, Urn eventId)
      Initiates a odds recovery procedure for the event associated with the provided Urn identifier on the requested Producer (The odds recovery procedure re-sends all odds for all markets for a sport event) Note: The event must be either EventStatus.NotStarted or EventStatus.Live
      Parameters:
      producer - the producer on which the recovery should be initialized
      eventId - the Urn identifier of the event for which the recovery is needed
      Returns:
      the identifier of the recovery request, if the request executed successfully; otherwise null
    • initiateEventStatefulMessagesRecovery

      Long initiateEventStatefulMessagesRecovery(Producer producer, Urn eventId)
      Initiates a stateful recovery procedure for the event associated with the provided Urn identifier on the requested Producer (The stateful message recovery procedure re-sends all stateful-messages (BetSettlement, RollbackBetSettlement, BetCancel, UndoBetCancel) for a sport event) Note: The event can be up to 30 days in the past
      Parameters:
      producer - the producer on which the recovery should be initialized
      eventId - the Urn identifier of the event for which the recovery is needed
      Returns:
      the identifier of the recovery request, if the request executed successfully; otherwise null