Interface UofCacheConfiguration
- All Known Implementing Classes:
UofCacheConfigurationImpl
public interface UofCacheConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets a value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer (default: false)Gets the ignore BetPal timeline sport event status cache timeout - how long cache item is cached.Gets the competitor/player cache timeout - how long cache item is cached Can be between 1 hour and 48 hours - default 24 hours (sliding expiration)Gets the sport event cache timeout - how long cache items are cached Can be between 1 hour and 48 hours - default 12 hours (sliding expiration)Gets the sport event status cache timeout - how long status is cached Can be between 1 min and 60 min - default 5 min (absolute expiration)Gets the variant market description cache timeout - how long cache item is cached Can be between 1 hour and 24 hours - default 3 hours (sliding expiration)
-
Method Details
-
getSportEventCacheTimeout
Duration getSportEventCacheTimeout()Gets the sport event cache timeout - how long cache items are cached Can be between 1 hour and 48 hours - default 12 hours (sliding expiration)- Returns:
- the sport event cache timeout
-
getSportEventStatusCacheTimeout
Duration getSportEventStatusCacheTimeout()Gets the sport event status cache timeout - how long status is cached Can be between 1 min and 60 min - default 5 min (absolute expiration)- Returns:
- the sport event status cache timeout
-
getProfileCacheTimeout
Duration getProfileCacheTimeout()Gets the competitor/player cache timeout - how long cache item is cached Can be between 1 hour and 48 hours - default 24 hours (sliding expiration)- Returns:
- the competitor/player cache timeout
-
getVariantMarketDescriptionCacheTimeout
Duration getVariantMarketDescriptionCacheTimeout()Gets the variant market description cache timeout - how long cache item is cached Can be between 1 hour and 24 hours - default 3 hours (sliding expiration)- Returns:
- the variant market description cache timeout
-
getIgnoreBetPalTimelineSportEventStatusCacheTimeout
Duration getIgnoreBetPalTimelineSportEventStatusCacheTimeout()Gets the ignore BetPal timeline sport event status cache timeout - how long cache item is cached. How long should the event id from BetPal producer be cached. SportEventStatus from timeline endpoint for these events are ignored. Can be between 1 hour and 24 hours - default 3 hours (sliding expiration)- Returns:
- the ignore BetPal timeline sport event status timeout
-
getIgnoreBetPalTimelineSportEventStatus
boolean getIgnoreBetPalTimelineSportEventStatus()Gets a value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer (default: false)- Returns:
- true if sport event status from timeline endpoint should be ignored, otherwise false
-