Bewerken

Delen via


GrainReminderExtensions Class

Definition

Extension methods for accessing reminders from a Grain or IGrainBase implementation.

public static class GrainReminderExtensions
type GrainReminderExtensions = class
Public Module GrainReminderExtensions
Inheritance
GrainReminderExtensions

Methods

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 the Orleans.IRemindable interface, and reminders for this grain will be sent to the ReceiveReminder callback 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 the Orleans.IRemindable interface, and reminders for this grain will be sent to the ReceiveReminder callback 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.

Applies to