Class SafeQueueTimeStats
- Namespace
- Sportradar.LiveData.Sdk.Services.QueueStats
- Assembly
- Sportradar.LiveData.Sdk.dll
public class SafeQueueTimeStats : IQueueTimeStats, IStartable
- Inheritance
-
SafeQueueTimeStats
- Implements
- Inherited Members
Properties
DailyStats
public QueueStats DailyStats { get; }
Property Value
HourlyStats
public QueueStats HourlyStats { get; }
Property Value
IsEnabled
public bool IsEnabled { get; set; }
Property Value
MinutelyStats
public QueueStats MinutelyStats { get; }
Property Value
PrevDailyStats
public QueueStats PrevDailyStats { get; }
Property Value
PrevHourlyStats
public QueueStats PrevHourlyStats { get; }
Property Value
PrevMinutelyStats
public QueueStats PrevMinutelyStats { get; }
Property Value
QueueName
public string QueueName { get; set; }
Property Value
TotalStats
public QueueStats TotalStats { get; }
Property Value
Methods
ItemDequeued(long, TimeSpan)
public void ItemDequeued(long curr_count, TimeSpan time_in_queue)
Parameters
ItemDropped()
public void ItemDropped()
ItemEnqueued(long)
public void ItemEnqueued(long curr_count)
Parameters
curr_countlong
ItemProcessed(TimeSpan)
public void ItemProcessed(TimeSpan time_to_process)
Parameters
time_to_processTimeSpan
Start()
Start component.
public void Start()
Remarks
The component should be initialized first.
Stop()
Stop / shutdown component.
public void Stop()