static interface ScheduledChore.ChoreServicer
Modifier and Type | Method and Description |
---|---|
void |
cancelChore(ScheduledChore chore)
Cancel any ongoing schedules that this chore has with the implementer of this interface.
|
void |
cancelChore(ScheduledChore chore,
boolean mayInterruptIfRunning) |
boolean |
isChoreScheduled(ScheduledChore chore) |
void |
onChoreMissedStartTime(ScheduledChore chore)
A callback that tells the implementer of this interface that one of the scheduled chores is
missing its start time.
|
boolean |
triggerNow(ScheduledChore chore)
This method tries to execute the chore immediately.
|
void cancelChore(ScheduledChore chore)
void cancelChore(ScheduledChore chore, boolean mayInterruptIfRunning)
boolean isChoreScheduled(ScheduledChore chore)
boolean triggerNow(ScheduledChore chore)
If the chore is not scheduled with a ChoreService, this call will fail.
void onChoreMissedStartTime(ScheduledChore chore)
chore
- The chore that missed its start timeCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.