ActorReminderSettings Class

  • java.lang.Object
    • microsoft.servicefabric.actors.runtime.ActorReminderSettings

public class ActorReminderSettings

This class provides settings to configure the behavior of reminders.

Constructor Summary

Constructor Description
ActorReminderSettings()

Initializes a new instance of the ReminderSettings class. By default one time reminders are set to auto delete.

Method Summary

Modifier and Type Method and Description
boolean getAutoDeleteOneTimeReminders()

Gets the value indicating if ActorRuntime should automatically delete one-time reminders after they have fired and completed its callback successfully. One-time reminders refer to reminders whose period is set to negative value.

void setAutoDeleteOneTimeReminders(boolean value)

Sets value indicating if ActorRuntime should automatically delete one-time reminders after they have fired and completed its callback successfully. One-time reminders refer to reminders whose period is set to negative value.

Constructor Details

ActorReminderSettings

public ActorReminderSettings()

Initializes a new instance of the ReminderSettings class. By default one time reminders are set to auto delete.

Method Details

getAutoDeleteOneTimeReminders

public boolean getAutoDeleteOneTimeReminders()

Gets the value indicating if ActorRuntime should automatically delete one-time reminders after they have fired and completed its callback successfully. One-time reminders refer to reminders whose period is set to negative value.

Returns:

Boolean value indicating if ActorRuntime should automatically delete a one-time reminders after it has fired and completed its callback successfully.

setAutoDeleteOneTimeReminders

public void setAutoDeleteOneTimeReminders(boolean value)

Sets value indicating if ActorRuntime should automatically delete one-time reminders after they have fired and completed its callback successfully. One-time reminders refer to reminders whose period is set to negative value.

Parameters:

value - Boolean value indicating if ActorRuntime should automatically delete a one-time reminders after it has fired and completed its callback successfully.

Applies to