Struct TickStatus
The status of a tick when the tick is delivered to the registrar grain. In case of failures, it may happen that a tick is not delivered on time. The app can notice such missed missed ticks as follows. Upon receiving a tick, the app can calculate the theoretical number of ticks since start of the reminder as: curCount = (Now - FirstTickTime) / Period The app can keep track of it as 'count'. Upon receiving a tick, the number of missed ticks = curCount - count - 1 Thereafter, the app can set count = curCount
Namespace: Orleans.Runtime
Assembly: Orleans.Core.Abstractions.dll
Syntax
public struct TickStatus
Properties
| Improve this Doc View SourceCurrentTickTime
The time on the runtime silo when the silo initiated the delivery of this tick.
Declaration
public DateTime CurrentTickTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
FirstTickTime
The time at which the first tick of this reminder is due, or was triggered
Declaration
public DateTime FirstTickTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Period
The period of the reminder
Declaration
public TimeSpan Period { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Methods
| Improve this Doc View SourceToString()
Declaration
public override String ToString()
Returns
| Type | Description |
|---|---|
| String |