Table of Contents

Interface IMonitoring

Namespace
Sportradar.LiveData.Sdk.Services.QueueStats
Assembly
Sportradar.LiveData.Sdk.dll

Feed monitoring interface

public interface IMonitoring

Properties

DispatcherQueueStats

Returns queue stats for every dispatcher queue.

IList<ClientQueueStats> DispatcherQueueStats { get; }

Property Value

IList<ClientQueueStats>

MainQueueStats

Returns main queue stats.

ClientQueueStats MainQueueStats { get; }

Property Value

ClientQueueStats

Methods

ClearQueue(Priority, DateTime)

Clears queue (logical AND is applies between the filters, if you want OR call the method twice)

void ClearQueue(Priority lower_than_prio, DateTime older_than)

Parameters

lower_than_prio Priority

Clear events

older_than DateTime

Events

OnRcvQueueCongested

Signals when a local event receive queue congestion occurs. When this occurs live feed events might be out-of-date. Congestion queue size can be configured.

event QueueCongestionDelegate OnRcvQueueCongested

Event Type

QueueCongestionDelegate

Remarks

It is suggested that this event handler is wired to some Monitoring Service. In response to this event the queue might also be reset/cleared, but with known consequences.