Class ReportUnitStateList
A utility list that caches the states of the report units.
public class ReportUnitStateList
- Inheritance
-
ReportUnitStateList
- Inherited Members
Properties
Timeout
The maximum time for the report units to stay alive in the list.
public TimeSpan Timeout { get; set; }
Property Value
Methods
Invalidate(string)
Manually remove a report unit from the list.
public bool Invalidate(string id)
Parameters
idstring- The ID of the report unit.
Returns
- bool
- Whether the report unit is removed successfully.
Push(string, ReadOnlySpan<int>)
Pushes the states of a report unit into the list.
public PushResult Push(string id, ReadOnlySpan<int> state)
Parameters
idstring- The ID of the report unit.
stateReadOnlySpan<int>- The states.
Returns
- PushResult
- The result of the push.
Exceptions
- ArgumentException
- The length of
statemismatches with the length of the states pushed last time.