Interface EventRecoveryRequestIssuer
- All Known Implementing Classes:
RecoveryManagerImpl
public interface EventRecoveryRequestIssuer
Defines utility methods used to handle specific event recovery requests
-
Method Summary
Modifier and TypeMethodDescriptioninitiateEventOddsMessagesRecovery(Producer producer, Urn eventId) Initiates a odds recovery procedure for the event associated with the providedUrnidentifier on the requestedProducer(The odds recovery procedure re-sends all odds for all markets for a sport event) Note: The event must be eitherEventStatus.NotStartedorEventStatus.LiveinitiateEventStatefulMessagesRecovery(Producer producer, Urn eventId) Initiates a stateful recovery procedure for the event associated with the providedUrnidentifier on the requestedProducer(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
Initiates a odds recovery procedure for the event associated with the providedUrnidentifier on the requestedProducer(The odds recovery procedure re-sends all odds for all markets for a sport event) Note: The event must be eitherEventStatus.NotStartedorEventStatus.Live- Parameters:
producer- the producer on which the recovery should be initializedeventId- theUrnidentifier of the event for which the recovery is needed- Returns:
- the identifier of the recovery request, if the request executed successfully; otherwise null
-
initiateEventStatefulMessagesRecovery
Initiates a stateful recovery procedure for the event associated with the providedUrnidentifier on the requestedProducer(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 initializedeventId- theUrnidentifier of the event for which the recovery is needed- Returns:
- the identifier of the recovery request, if the request executed successfully; otherwise null
-