public interface SportEventStatusCache
SportEventStatusDto
instancesModifier and Type | Method and Description |
---|---|
void |
addEventIdForTimelineIgnore(Urn eventId,
int producerId,
String messageType)
Adds the event identifier for timeline ignore
Used for BetPal events to have ignored timeline event status cache
|
SportEventStatusCi |
getSportEventStatusCi(Urn eventId,
boolean makeApiCall)
Returns the status of the event associated with the provided identifier.
|
void |
purgeSportEventStatus(Urn id)
Purges the sport event status associated with the provided event id
|
SportEventStatusCi getSportEventStatusCi(Urn eventId, boolean makeApiCall)
SportEventStatusCi
instance indicating a 'not started' event is returned.eventId
- the event identifiermakeApiCall
- should the API call be made if necessarySportEventStatusCi
instance describing the last known event statusvoid purgeSportEventStatus(Urn id)
id
- the id of the event that you want to purge the sport event statusvoid addEventIdForTimelineIgnore(Urn eventId, int producerId, String messageType)
eventId
- the event identifierproducerId
- the producer identifiermessageType
- type of the feed messageCopyright © 2016–2025. All rights reserved.