Click or drag to resize

IResequencerT Interface

Stateful component that allows to obtain items in correct sequence.

Namespace: Sportradar.SDK.Common.Utils
Assembly: Common (in Common.dll) Version: 2.28.0.0
Syntax
C#
public interface IResequencer<T> : IStash<T>

Type Parameters

T
Type of the elements

The IResequencerT type exposes the following members.

Properties
 NameDescription
Public propertyLastSeqNum Latest sequence number
Public propertyMaxSeqWaiting The waiting element with maximum sequence number.
(Inherited from IStashT)
Public propertyMinSeqWaiting The waiting element with minimum sequence number.
(Inherited from IStashT)
Top
Methods
 NameDescription
Public methodAdd Add a new element.
Public methodAddStash Add an item to stash. (When using the resequencer as kind of a stash for elements).
(Inherited from IStashT)
Public methodClear Clear complete state and possibly also reset first desired state. Possible fresh star for sequence numbers
Public methodClearWaiting Clear waiting (out-of-sequence) elements.
(Inherited from IStashT)
Public methodGetWaiting Get the out-of-sequence elements that are still waiting.
(Inherited from IStashT)
Top
Events
 NameDescription
Public eventOnDuplicate How to resolve a duplicate. (seq_number, old, fresh) => replacement element
(Inherited from IStashT)
Public eventOnSeqData Event fired when another in-sequence element was found.
Top
See Also