Table of Contents

Interface IUofCacheConfiguration

Namespace
Sportradar.OddsFeed.SDK.Api.Config
Assembly
Sportradar.OddsFeed.SDK.dll

Defines a contract implemented by classes representing sdk internal caches configuration / settings

public interface IUofCacheConfiguration

Properties

IgnoreBetPalTimelineSportEventStatus

Gets a value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer

bool IgnoreBetPalTimelineSportEventStatus { get; }

Property Value

bool

true if sport event status from timeline endpoint should be ignored, otherwise false.

Remarks

Default false

IgnoreBetPalTimelineSportEventStatusCacheTimeout

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.

TimeSpan IgnoreBetPalTimelineSportEventStatusCacheTimeout { get; }

Property Value

TimeSpan

The ignore BetPal timeline sport event status timeout.

Remarks

Can be between 1 hour and 24 hours - default 3 hours (sliding expiration)

ProfileCacheTimeout

Gets the competitor/player cache timeout - how long cache item is cached

TimeSpan ProfileCacheTimeout { get; }

Property Value

TimeSpan

The competitor/player cache timeout.

Remarks

Can be between 1 hour and 48 hours - default 24 hours (sliding expiration)

SportEventCacheTimeout

Gets the sport event cache timeout - how long cache item is cached

TimeSpan SportEventCacheTimeout { get; }

Property Value

TimeSpan

The event cache timeout.

Remarks

Can be between 1 hour and 48 hours - default 12 hours (sliding expiration)

SportEventStatusCacheTimeout

Gets the sport event status cache timeout - how long status is cached

TimeSpan SportEventStatusCacheTimeout { get; }

Property Value

TimeSpan

The sport event status cache timeout.

Remarks

Can be between 1 min and 60 min - default 5 min (absolute expiration)

VariantMarketDescriptionCacheTimeout

Gets the variant market description cache timeout - how long cache item is cached

TimeSpan VariantMarketDescriptionCacheTimeout { get; }

Property Value

TimeSpan

The variant market description cache timeout.

Remarks

Can be between 1 hour and 24 hours - default 3 hours (sliding expiration)