GrainReminderExtensions
class
Namespace: Orleans
Extension methods for accessing reminders from a
Grain or IGrainBase implementation. public static class GrainReminderExtensionsMethods
GetReminder(Grain, string)Returns a previously registered reminder.GetReminder(IGrainBase, string)Returns a previously registered reminder.GetReminders(Grain)Returns a list of all reminders registered by the grain.GetReminders(IGrainBase)Returns a list of all reminders registered by the grain.RegisterOrUpdateReminder(Grain, string, TimeSpan, TimeSpan)Registers a persistent, reliable reminder to send regular notifications (reminders) to the grain. The grain must implement theOrleans.IRemindableinterface, and reminders for this grain will be sent to theReceiveRemindercallback method. If the current grain is deactivated when the timer fires, a new activation of this grain will be created to receive this reminder. If an existing reminder with the same name already exists, that reminder will be overwritten with this new reminder. Reminders will always be received by one activation of this grain, even if multiple activations exist for this grain.RegisterOrUpdateReminder(IGrainBase, string, TimeSpan, TimeSpan)Registers a persistent, reliable reminder to send regular notifications (reminders) to the grain. The grain must implement theOrleans.IRemindableinterface, and reminders for this grain will be sent to theReceiveRemindercallback method. If the current grain is deactivated when the timer fires, a new activation of this grain will be created to receive this reminder. If an existing reminder with the same name already exists, that reminder will be overwritten with this new reminder. Reminders will always be received by one activation of this grain, even if multiple activations exist for this grain.UnregisterReminder(Grain, IGrainReminder)Unregisters a previously registered reminder.UnregisterReminder(IGrainBase, IGrainReminder)Unregisters a previously registered reminder.
