static class SimpleScheduler.IntervalTrigger extends SimpleScheduler.SimpleTrigger
start| Constructor and Description |
|---|
IntervalTrigger(String id,
ZonedDateTime start,
long interval) |
| Modifier and Type | Method and Description |
|---|---|
(package private) ZonedDateTime |
evaluate(ZonedDateTime now) |
Instant |
getNextFireTime() |
Instant |
getPreviousFireTime() |
String |
toString() |
getIdpublic IntervalTrigger(String id, ZonedDateTime start, long interval)
ZonedDateTime evaluate(ZonedDateTime now)
evaluate in class SimpleScheduler.SimpleTriggernull otherwisepublic Instant getNextFireTime()
null if it will not fire againpublic Instant getPreviousFireTime()
null if it has not fired yetCopyright © 2020 JBoss by Red Hat. All rights reserved.