Class UofCacheConfigurationImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.cfg.UofCacheConfigurationImpl
- All Implemented Interfaces:
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)toString()
-
Method Details
-
getSportEventCacheTimeout
Description copied from interface:UofCacheConfigurationGets the sport event cache timeout - how long cache items are cached Can be between 1 hour and 48 hours - default 12 hours (sliding expiration)- Specified by:
getSportEventCacheTimeoutin interfaceUofCacheConfiguration- Returns:
- the sport event cache timeout
-
getSportEventStatusCacheTimeout
Description copied from interface:UofCacheConfigurationGets the sport event status cache timeout - how long status is cached Can be between 1 min and 60 min - default 5 min (absolute expiration)- Specified by:
getSportEventStatusCacheTimeoutin interfaceUofCacheConfiguration- Returns:
- the sport event status cache timeout
-
getProfileCacheTimeout
Description copied from interface:UofCacheConfigurationGets the competitor/player cache timeout - how long cache item is cached Can be between 1 hour and 48 hours - default 24 hours (sliding expiration)- Specified by:
getProfileCacheTimeoutin interfaceUofCacheConfiguration- Returns:
- the competitor/player cache timeout
-
getVariantMarketDescriptionCacheTimeout
Description copied from interface:UofCacheConfigurationGets 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)- Specified by:
getVariantMarketDescriptionCacheTimeoutin interfaceUofCacheConfiguration- Returns:
- the variant market description cache timeout
-
getIgnoreBetPalTimelineSportEventStatusCacheTimeout
Description copied from interface:UofCacheConfigurationGets 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)- Specified by:
getIgnoreBetPalTimelineSportEventStatusCacheTimeoutin interfaceUofCacheConfiguration- Returns:
- the ignore BetPal timeline sport event status timeout
-
getIgnoreBetPalTimelineSportEventStatus
public boolean getIgnoreBetPalTimelineSportEventStatus()Description copied from interface:UofCacheConfigurationGets a value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer (default: false)- Specified by:
getIgnoreBetPalTimelineSportEventStatusin interfaceUofCacheConfiguration- Returns:
- true if sport event status from timeline endpoint should be ignored, otherwise false
-
toString
-