Package com.sun.ejb.containers
Class EJBTimerService.TimerCache
java.lang.Object
com.sun.ejb.containers.EJBTimerService.TimerCache
- Enclosing class:
EJBTimerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTimer(TimerPrimaryKey timerId, RuntimeTimerState timerState) booleancontainerHasTimers(long containerId) booleanentityBeanHasTimers(long containerId, Object pkey) getNonPersistentActiveTimerIdsForContainer(long containerId_) getNonPersistentTimerIdsForContainer(long containerId_) getTimerState(TimerPrimaryKey timerId) voidremoveTimer(TimerPrimaryKey timerId) Remove a timer from the cache.voidvalidate()
-
Constructor Details
-
TimerCache
public TimerCache()
-
-
Method Details
-
addTimer
-
removeTimer
Remove a timer from the cache. This should be coded defensively since it's possible it will be called multiple times for the same timer. -
getTimerState
-
getNonPersistentTimerState
-
entityBeanHasTimers
-
containerHasTimers
public boolean containerHasTimers(long containerId) -
validate
public void validate() -
getNonPersistentTimerIdsForContainer
-
getNonPersistentActiveTimerIdsForContainer
-
getNonPersistentActiveTimerIdsByThisServer
-