public class CalendarTimerTask extends TimerTask<CalendarTimer>
timedObjectId, timerId, timerService| Constructor and Description |
|---|
CalendarTimerTask(CalendarTimer calendarTimer) |
| Modifier and Type | Method and Description |
|---|---|
protected Date |
calculateNextTimeout(TimerImpl timer) |
protected void |
callTimeout(TimerImpl timer) |
protected void |
invokeBeanMethod(TimerImpl timer) |
protected void |
postTimeoutProcessing(TimerImpl timer)
After running the timer calculate the new state or expire the timer and persist it if changed.
|
protected void |
scheduleTimeoutIfRequired(TimerImpl timer) |
cancel, retryTimeout, runpublic CalendarTimerTask(CalendarTimer calendarTimer)
calendarTimer - protected void callTimeout(TimerImpl timer) throws Exception
callTimeout in class TimerTask<CalendarTimer>Exceptionprotected void invokeBeanMethod(TimerImpl timer) throws Exception
invokeBeanMethod in class TimerTask<CalendarTimer>Exceptionprotected Date calculateNextTimeout(TimerImpl timer)
calculateNextTimeout in class TimerTask<CalendarTimer>protected void scheduleTimeoutIfRequired(TimerImpl timer)
scheduleTimeoutIfRequired in class TimerTask<CalendarTimer>protected void postTimeoutProcessing(TimerImpl timer) throws InterruptedException
TimerTaskpostTimeoutProcessing in class TimerTask<CalendarTimer>timer - timer to post processing and persistInterruptedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.