| Package | Description |
|---|---|
| com.sun.ejb.containers |
| Modifier and Type | Field and Description |
|---|---|
protected Map<TimerPrimaryKey,Method> |
BaseContainer.scheduleIds |
| Modifier and Type | Method and Description |
|---|---|
TimerPrimaryKey |
RuntimeTimerState.getTimerId() |
| Modifier and Type | Method and Description |
|---|---|
Set<TimerPrimaryKey> |
EJBTimerService.getNonPersistentActiveTimerIdsByThisServer() |
Set<TimerPrimaryKey> |
EJBTimerService.TimerCache.getNonPersistentActiveTimerIdsByThisServer() |
Set<TimerPrimaryKey> |
EJBTimerService.TimerCache.getNonPersistentActiveTimerIdsForContainer(long containerId_) |
Set<TimerPrimaryKey> |
EJBTimerService.TimerCache.getNonPersistentTimerIdsForContainer(long containerId_) |
protected Collection<TimerPrimaryKey> |
EJBTimerService.getTimerIds(Collection<Long> containerIds) |
protected Collection<TimerPrimaryKey> |
EJBTimerService.getTimerIds(long containerId,
Object timedObjectPrimaryKey)
Called by EJBTimerServiceWrapper when caller calls getTimers.
|
protected Map<TimerPrimaryKey,Method> |
EJBTimerService.recoverAndCreateSchedules(long containerId,
long applicationId,
Map<Method,List<ScheduledTimerDescriptor>> schedules,
boolean deploy)
Create automatic non-persistent timers defined by the @Schedule
annotation on the EJB bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
EJBTimerService._createTimer(TimerPrimaryKey timerId,
long containerId,
long applicationId,
Object timedObjectPrimaryKey,
String server_name,
Date initialExpiration,
long intervalDuration,
EJBTimerSchedule schedule,
jakarta.ejb.TimerConfig timerConfig) |
void |
EJBTimerService.TimerCache.addTimer(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
protected void |
EJBTimerService.addToSchedules(long containerId,
TimerPrimaryKey timerId,
EJBTimerSchedule ts) |
protected boolean |
EJBTimerService.cancelNonPersistentTimer(TimerPrimaryKey timerId) |
protected void |
EJBTimerService.cancelTimer(TimerPrimaryKey timerId) |
void |
EJBTimerService.cancelTimerSynchronization(EJBContextImpl context_,
TimerPrimaryKey timerId,
long containerId,
String ownerId) |
protected void |
EJBTimerService.expungeTimer(TimerPrimaryKey timerId,
boolean removeTimerBean)
Remove all traces of a timer.
|
protected Serializable |
EJBTimerService.getInfo(TimerPrimaryKey timerId) |
protected Date |
EJBTimerService.getNextTimeout(TimerPrimaryKey timerId)
Return next planned timeout for this timer.
|
protected RuntimeTimerState |
EJBTimerService.getNonPersistentTimer(TimerPrimaryKey timerId) |
RuntimeTimerState |
EJBTimerService.TimerCache.getNonPersistentTimerState(TimerPrimaryKey timerId) |
protected EJBTimerSchedule |
EJBTimerService.getTimerSchedule(TimerPrimaryKey timerId)
Called by #getScheduleExpression and #isCalendarTimer
|
protected RuntimeTimerState |
EJBTimerService.getTimerState(TimerPrimaryKey timerId) |
RuntimeTimerState |
EJBTimerService.TimerCache.getTimerState(TimerPrimaryKey timerId) |
protected boolean |
EJBTimerService.isPersistent(TimerPrimaryKey timerId) |
protected boolean |
EJBTimerService.isValidTimerForThisServer(TimerPrimaryKey timerId,
RuntimeTimerState timerState)
Non-persistent timers are always valid because to be
executed on this server instance.
|
void |
EJBTimerService.TimerCache.removeTimer(TimerPrimaryKey timerId)
Remove a timer from the cache.
|
protected void |
EJBTimerService.resetLastExpiration(TimerPrimaryKey timerId,
RuntimeTimerState timerState)
Nothing special to do for non-persistent timers
|
protected void |
EJBTimerService.scheduleTask(TimerPrimaryKey timerId,
Date expiration) |
protected boolean |
EJBTimerService.timerExists(TimerPrimaryKey timerId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EJBTimerService.createSchedules(long containerId,
long applicationId,
Map<?,List<ScheduledTimerDescriptor>> schedules,
Map<TimerPrimaryKey,Method> result,
String server_name,
boolean startTimers,
boolean deploy)
Create automatic timers defined by the @Schedule annotation on the EJB bean.
|
protected void |
EJBTimerService.stopTimers(Set<TimerPrimaryKey> timerIds) |
| Constructor and Description |
|---|
RuntimeTimerState(TimerPrimaryKey timerId,
Date initialExpiration,
long intervalDuration,
BaseContainer container,
Object timedObjectPkey,
EJBTimerSchedule schedule,
Serializable info,
boolean persistent) |
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.