Click or drag to resize

IStashT Interface

Stateful component that allows to stash elements until needed. You get duplicate detection and ordering guarantees.

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

Type Parameters

T
Type of the elements

The IStashT type exposes the following members.

Properties
 NameDescription
Public propertyMaxSeqWaiting The waiting element with maximum sequence number.
Public propertyMinSeqWaiting The waiting element with minimum sequence number.
Top
Methods
 NameDescription
Public methodAddStash Add an item to stash. (When using the resequencer as kind of a stash for elements).
Public methodClearWaiting Clear waiting (out-of-sequence) elements.
Public methodGetWaiting Get the out-of-sequence elements that are still waiting.
Top
Events
 NameDescription
Public eventOnDuplicate How to resolve a duplicate. (seq_number, old, fresh) => replacement element
Top
See Also