Class EJBTimerService.TimerCache

java.lang.Object
com.sun.ejb.containers.EJBTimerService.TimerCache
Enclosing class:
EJBTimerService

public static class EJBTimerService.TimerCache extends Object
  • Constructor Details

    • TimerCache

      public TimerCache()
  • Method Details

    • addTimer

      public void addTimer(TimerPrimaryKey timerId, RuntimeTimerState timerState)
    • removeTimer

      public void removeTimer(TimerPrimaryKey timerId)
      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

      public RuntimeTimerState getTimerState(TimerPrimaryKey timerId)
    • getNonPersistentTimerState

      public RuntimeTimerState getNonPersistentTimerState(TimerPrimaryKey timerId)
    • entityBeanHasTimers

      public boolean entityBeanHasTimers(long containerId, Object pkey)
    • containerHasTimers

      public boolean containerHasTimers(long containerId)
    • validate

      public void validate()
    • getNonPersistentTimerIdsForContainer

      public Set<TimerPrimaryKey> getNonPersistentTimerIdsForContainer(long containerId_)
    • getNonPersistentActiveTimerIdsForContainer

      public Set<TimerPrimaryKey> getNonPersistentActiveTimerIdsForContainer(long containerId_)
    • getNonPersistentActiveTimerIdsByThisServer

      public Set<TimerPrimaryKey> getNonPersistentActiveTimerIdsByThisServer()