public interface ReminderController extends Actor
| Modifier and Type | Method and Description |
|---|---|
Task<Void> |
ensureStart() |
Task<List<String>> |
getReminders(Remindable actor)
Gets all reminders tied to the actor actor.
|
Task<String> |
registerOrUpdateReminder(Remindable actor,
String reminderName,
Date dueTime,
long period,
TimeUnit timeUnit)
Adds or updates a reminder
|
Task<String> |
unregisterReminder(Remindable actor,
String reminderName)
Cancels a reminder registration.
|
cast, deactivate, getClusterActorCount, getIdentity, getIdentity, getReference, getReferenceTask<String> registerOrUpdateReminder(Remindable actor, String reminderName, Date dueTime, long period, TimeUnit timeUnit)
actor - the actor that owns of the reminderreminderName - the name, used with actor as reminder keydueTime - the first time the reminder will triggerperiod - the period of the reminder after the first time.timeUnit - the time unit for periodTask<String> unregisterReminder(Remindable actor, String reminderName)
actor - the target actorreminderName - the reminder handleTask<List<String>> getReminders(Remindable actor)
actor - the target actorCopyright © 2019 Electronic Arts Inc. All rights reserved.