Modifier and Type | Method and Description |
---|---|
default ScheduleToken |
EventScheduler.reschedule(ScheduleToken scheduleToken,
Duration triggerDuration,
Object event)
Cancel a scheduled event and schedule another in its place.
|
ScheduleToken |
EventScheduler.schedule(Duration triggerDuration,
Object event)
Schedule the given
event for publication after the given triggerDuration . |
ScheduleToken |
EventScheduler.schedule(Instant triggerDateTime,
Object event)
Schedule the given
event for publication at the given triggerDateTime . |
Modifier and Type | Method and Description |
---|---|
void |
EventScheduler.cancelSchedule(ScheduleToken scheduleToken)
Cancel the publication of a scheduled event.
|
default ScheduleToken |
EventScheduler.reschedule(ScheduleToken scheduleToken,
Duration triggerDuration,
Object event)
Cancel a scheduled event and schedule another in its place.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleScheduleToken
ScheduleToken for tasks event scheduled using the SimpleEventScheduler.
|
Modifier and Type | Method and Description |
---|---|
ScheduleToken |
SimpleEventScheduler.schedule(Duration triggerDuration,
Object event) |
ScheduleToken |
SimpleEventScheduler.schedule(Instant triggerDateTime,
Object event) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleEventScheduler.cancelSchedule(ScheduleToken scheduleToken) |
Modifier and Type | Class and Description |
---|---|
class |
QuartzScheduleToken
ScheduleToken implementation representing a scheduled Quartz Job.
|
Modifier and Type | Method and Description |
---|---|
ScheduleToken |
QuartzEventScheduler.schedule(Duration triggerDuration,
Object event) |
ScheduleToken |
QuartzEventScheduler.schedule(Instant triggerDateTime,
Object event) |
Modifier and Type | Method and Description |
---|---|
void |
QuartzEventScheduler.cancelSchedule(ScheduleToken scheduleToken) |
Modifier and Type | Class and Description |
---|---|
class |
StubScheduleToken
ScheduleToken returned by the StubEventScheduler.
|
Modifier and Type | Method and Description |
---|---|
ScheduleToken |
StubEventScheduler.schedule(Duration triggerDuration,
Object event) |
ScheduleToken |
StubEventScheduler.schedule(Instant triggerDateTime,
Object event) |
Modifier and Type | Method and Description |
---|---|
void |
StubEventScheduler.cancelSchedule(ScheduleToken scheduleToken) |
Copyright © 2010–2019. All rights reserved.