TickStatus
struct
Namespace: Orleans.Runtime
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 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
[Orleans.GenerateSerializer][Orleans.Immutable]public readonly struct TickStatus : IEquatable<TickStatus>Constructors
TickStatus(DateTime, TimeSpan, DateTime)Creates a newTickStatusinstance.
Properties
CurrentTickTimeGets the time on the runtime silo when the silo initiated the delivery of this tick.FirstTickTimeGets the time at which the first tick of this reminder is due, or was triggered.PeriodGets the period of the reminder.
Methods
Equals(TickStatus)Indicates whether the current object is equal to another object of the same type.Equals(object?)Indicates whether this instance and a specified object are equal.GetHashCodeReturns the hash code for this instance.ToStringReturns the fully qualified type name of this instance.operator ==(TickStatus, TickStatus)Determines whether two reminder tick statuses are equal.operator !=(TickStatus, TickStatus)Determines whether two reminder tick statuses are unequal.
