| Package | Description |
|---|---|
| com.sun.ejb.containers | |
| fish.payara.ejb.timer.hazelcast | |
| org.glassfish.ejb.mdb | |
| org.glassfish.ejb.persistent.timer |
| Modifier and Type | Method and Description |
|---|---|
protected RuntimeTimerState |
NonPersistentEJBTimerService.getNonPersistentTimer(TimerPrimaryKey timerId) |
RuntimeTimerState |
EJBTimerService.TimerCache.getNonPersistentTimerState(TimerPrimaryKey timerId) |
protected RuntimeTimerState |
EJBTimerService.getTimerState(TimerPrimaryKey timerId) |
RuntimeTimerState |
EJBTimerService.TimerCache.getTimerState(TimerPrimaryKey timerId) |
| Modifier and Type | Method and Description |
|---|---|
protected Date |
EJBTimerService._getNextTimeout(RuntimeTimerState rt)
Non-persistent part of the implementation of the getNextTimeout() call
|
void |
EJBTimerService.TimerCache.addTimer(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
protected Date |
EJBTimerService.calcNextFixedRateExpiration(RuntimeTimerState timerState) |
protected boolean |
BaseContainer.callEJBTimeout(RuntimeTimerState timerState,
EJBTimerService timerService) |
protected Method |
BaseContainer.getTimeoutMethod(RuntimeTimerState timerState) |
protected boolean |
EJBTimerService.isCancelledByAnotherInstance(RuntimeTimerState timerState)
For a non-persistent timer, it's not possible to be cancelled by another
server instance
|
protected boolean |
NonPersistentEJBTimerService.isValidTimerForThisServer(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
protected abstract boolean |
EJBTimerService.isValidTimerForThisServer(TimerPrimaryKey timerId,
RuntimeTimerState timerState)
Non-persistent timers are always valid because to be executed on this
server instance.
|
protected boolean |
BaseContainer.postEjbTimeout(RuntimeTimerState timerState,
EJBTimerService timerService) |
protected void |
BaseContainer.prepareEjbTimeoutParams(EjbInvocation inv,
RuntimeTimerState timerState,
EJBTimerService timerService) |
protected boolean |
EJBTimerService.redeliverTimeout(RuntimeTimerState timerState) |
protected void |
NonPersistentEJBTimerService.resetLastExpiration(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
protected abstract void |
EJBTimerService.resetLastExpiration(TimerPrimaryKey timerId,
RuntimeTimerState timerState)
Nothing special to do for non-persistent timers
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
HazelcastTimerStore.isCancelledByAnotherInstance(RuntimeTimerState timerState) |
protected boolean |
HazelcastTimerStore.isValidTimerForThisServer(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
protected boolean |
HazelcastTimerStore.redeliverTimeout(RuntimeTimerState timerState) |
protected void |
HazelcastTimerStore.resetLastExpiration(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
MessageBeanContainer.callEJBTimeout(RuntimeTimerState timerState,
EJBTimerService timerService)
Override callEJBTimeout from BaseContainer since delivery to message
driven beans is a bit different from session/entity.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
PersistentEJBTimerService.isCancelledByAnotherInstance(RuntimeTimerState timerState)
Check if another server instance cancelled this timer.
|
protected boolean |
PersistentEJBTimerService.isValidTimerForThisServer(TimerPrimaryKey timerId,
RuntimeTimerState timerState)
Persistent timers can be cancelled from another server instance
|
protected boolean |
PersistentEJBTimerService.redeliverTimeout(RuntimeTimerState timerState) |
protected void |
PersistentEJBTimerService.resetLastExpiration(TimerPrimaryKey timerId,
RuntimeTimerState timerState)
Update database for a persistent timer
|
Copyright © 2019. All rights reserved.