public static interface TimerPersistence.TimerChangeListener
| Modifier and Type | Method and Description |
|---|---|
TimerServiceImpl |
getTimerService()
Gets the timer service associated with this listener
|
void |
timerAdded(TimerImpl timer)
Invoked when a timer is added to the underlying store.
|
void |
timerRemoved(String timerId)
Invoked when a timer is removed from the underlying store
|
void |
timerSync(TimerImpl oldTimer,
TimerImpl newTimer)
Invoked when a timer needs to be sync with the underlying store
|
void timerAdded(TimerImpl timer)
timer - The timervoid timerSync(TimerImpl oldTimer, TimerImpl newTimer)
oldTimer - The timer in Server memorynewtimer - The timer coming from the storevoid timerRemoved(String timerId)
timerId - The timerTimerServiceImpl getTimerService()
Copyright © 2022 JBoss by Red Hat. All rights reserved.