Uses of Class
com.sun.ejb.containers.TimerPrimaryKey
-
Packages that use TimerPrimaryKey Package Description com.sun.ejb.containers fish.payara.ejb.timer.hazelcast org.glassfish.ejb.persistent.timer -
-
Uses of TimerPrimaryKey in com.sun.ejb.containers
Fields in com.sun.ejb.containers with type parameters of type TimerPrimaryKey Modifier and Type Field Description protected Map<TimerPrimaryKey,Method>BaseContainer. scheduleIdsMethods in com.sun.ejb.containers that return TimerPrimaryKey Modifier and Type Method Description TimerPrimaryKeyRuntimeTimerState. getTimerId()Methods in com.sun.ejb.containers that return types with arguments of type TimerPrimaryKey Modifier and Type Method Description abstract Set<TimerPrimaryKey>EJBTimerService. getNonPersistentActiveTimerIdsByThisServer()Set<TimerPrimaryKey>EJBTimerService.TimerCache. getNonPersistentActiveTimerIdsByThisServer()Set<TimerPrimaryKey>NonPersistentEJBTimerService. getNonPersistentActiveTimerIdsByThisServer()Set<TimerPrimaryKey>EJBTimerService.TimerCache. getNonPersistentActiveTimerIdsForContainer(long containerId_)Set<TimerPrimaryKey>EJBTimerService.TimerCache. getNonPersistentTimerIdsForContainer(long containerId_)protected abstract Collection<TimerPrimaryKey>EJBTimerService. getTimerIds(long containerId, Object timedObjectPrimaryKey)Called by EJBTimerServiceWrapper when caller calls getTimers.protected abstract Collection<TimerPrimaryKey>EJBTimerService. getTimerIds(Collection<Long> containerIds)protected Collection<TimerPrimaryKey>NonPersistentEJBTimerService. getTimerIds(long containerId, Object timedObjectPrimaryKey)protected Collection<TimerPrimaryKey>NonPersistentEJBTimerService. getTimerIds(Collection<Long> containerIds)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.Methods in com.sun.ejb.containers with parameters of type TimerPrimaryKey Modifier and Type Method Description protected voidEJBTimerService. _createTimer(TimerPrimaryKey timerId, long containerId, long applicationId, Object timedObjectPrimaryKey, String server_name, Date initialExpiration, long intervalDuration, EJBTimerSchedule schedule, jakarta.ejb.TimerConfig timerConfig)voidEJBTimerService.TimerCache. addTimer(TimerPrimaryKey timerId, RuntimeTimerState timerState)protected voidEJBTimerService. addToSchedules(long containerId, TimerPrimaryKey timerId, EJBTimerSchedule ts)protected booleanNonPersistentEJBTimerService. cancelNonPersistentTimer(TimerPrimaryKey timerId)protected abstract voidEJBTimerService. cancelTimer(TimerPrimaryKey timerId)protected voidNonPersistentEJBTimerService. cancelTimer(TimerPrimaryKey timerId)voidEJBTimerService. cancelTimerSynchronization(EJBContextImpl context_, TimerPrimaryKey timerId, long containerId, String ownerId)protected voidEJBTimerService. cancelTimerSynchronization(EJBContextImpl context_, TimerPrimaryKey timerId, long containerId, String ownerId, boolean persistent)protected voidEJBTimerService. expungeTimer(TimerPrimaryKey timerId, boolean removeTimerBean)Remove all traces of a timer.protected abstract SerializableEJBTimerService. getInfo(TimerPrimaryKey timerId)protected SerializableNonPersistentEJBTimerService. getInfo(TimerPrimaryKey timerId)protected abstract DateEJBTimerService. getNextTimeout(TimerPrimaryKey timerId)Return next planned timeout for this timer.We have a fair amount of leeway regarding the consistency of this information.We should strive to detect the case where the timer no longer exists.However, since the current timer instance may not even own this timer, it's difficult to know the exact time of delivery in another server instance.protected DateNonPersistentEJBTimerService. getNextTimeout(TimerPrimaryKey timerId)protected RuntimeTimerStateNonPersistentEJBTimerService. getNonPersistentTimer(TimerPrimaryKey timerId)RuntimeTimerStateEJBTimerService.TimerCache. getNonPersistentTimerState(TimerPrimaryKey timerId)protected abstract EJBTimerScheduleEJBTimerService. getTimerSchedule(TimerPrimaryKey timerId)Called by #getScheduleExpression and #isCalendarTimerprotected EJBTimerScheduleNonPersistentEJBTimerService. getTimerSchedule(TimerPrimaryKey timerId)protected RuntimeTimerStateEJBTimerService. getTimerState(TimerPrimaryKey timerId)RuntimeTimerStateEJBTimerService.TimerCache. getTimerState(TimerPrimaryKey timerId)protected booleanNonPersistentEJBTimerService. isNonpersistent(TimerPrimaryKey timerId)Check if timerId represents nonpersistent timer.protected abstract booleanEJBTimerService. isPersistent(TimerPrimaryKey timerId)protected booleanNonPersistentEJBTimerService. isPersistent(TimerPrimaryKey timerId)protected abstract booleanEJBTimerService. isValidTimerForThisServer(TimerPrimaryKey timerId, RuntimeTimerState timerState)Non-persistent timers are always valid because to be executed on this server instance.protected booleanNonPersistentEJBTimerService. isValidTimerForThisServer(TimerPrimaryKey timerId, RuntimeTimerState timerState)voidEJBTimerService.TimerCache. removeTimer(TimerPrimaryKey timerId)Remove a timer from the cache.protected abstract voidEJBTimerService. resetLastExpiration(TimerPrimaryKey timerId, RuntimeTimerState timerState)Nothing special to do for non-persistent timersprotected voidNonPersistentEJBTimerService. resetLastExpiration(TimerPrimaryKey timerId, RuntimeTimerState timerState)protected voidEJBTimerService. scheduleTask(TimerPrimaryKey timerId, Date expiration)protected abstract booleanEJBTimerService. timerExists(TimerPrimaryKey timerId)protected booleanNonPersistentEJBTimerService. timerExists(TimerPrimaryKey timerId)Method parameters in com.sun.ejb.containers with type arguments of type TimerPrimaryKey Modifier and Type Method Description protected voidEJBTimerService. stopTimers(Set<TimerPrimaryKey> timerIds)Constructors in com.sun.ejb.containers with parameters of type TimerPrimaryKey Constructor Description RuntimeTimerState(TimerPrimaryKey timerId, Date initialExpiration, long intervalDuration, BaseContainer container, Object timedObjectPkey, EJBTimerSchedule schedule, Serializable info, boolean persistent) -
Uses of TimerPrimaryKey in fish.payara.ejb.timer.hazelcast
Methods in fish.payara.ejb.timer.hazelcast that return TimerPrimaryKey Modifier and Type Method Description TimerPrimaryKeyHZTimer. getKey()Methods in fish.payara.ejb.timer.hazelcast that return types with arguments of type TimerPrimaryKey Modifier and Type Method Description protected Collection<TimerPrimaryKey>HazelcastTimerStore. getTimerIds(long containerId, Object timedObjectPrimaryKey)protected Collection<TimerPrimaryKey>HazelcastTimerStore. getTimerIds(Collection<Long> containerIds)protected Map<TimerPrimaryKey,Method>HazelcastTimerStore. recoverAndCreateSchedules(long containerId, long applicationId, Map<Method,List<ScheduledTimerDescriptor>> schedules, boolean deploy)Methods in fish.payara.ejb.timer.hazelcast with parameters of type TimerPrimaryKey Modifier and Type Method Description protected voidHazelcastTimerStore. _createTimer(TimerPrimaryKey timerId, long containerId, long applicationId, Object timedObjectPrimaryKey, String server_name, Date initialExpiration, long intervalDuration, EJBTimerSchedule schedule, jakarta.ejb.TimerConfig timerConfig)protected voidHazelcastTimerStore. cancelTimer(TimerPrimaryKey timerId)protected voidHazelcastTimerStore. expungeTimer(TimerPrimaryKey timerId, boolean removeTimerBean)protected SerializableHazelcastTimerStore. getInfo(TimerPrimaryKey timerId)protected DateHazelcastTimerStore. getNextTimeout(TimerPrimaryKey timerId)protected EJBTimerScheduleHazelcastTimerStore. getTimerSchedule(TimerPrimaryKey timerId)protected booleanHazelcastTimerStore. isPersistent(TimerPrimaryKey timerId)protected booleanHazelcastTimerStore. isValidTimerForThisServer(TimerPrimaryKey timerId, RuntimeTimerState timerState)protected voidHazelcastTimerStore. resetLastExpiration(TimerPrimaryKey timerId, RuntimeTimerState timerState)protected booleanHazelcastTimerStore. timerExists(TimerPrimaryKey timerId)Constructors in fish.payara.ejb.timer.hazelcast with parameters of type TimerPrimaryKey Constructor Description HZTimer(TimerPrimaryKey timerId, long containerId, long applicationId, Object timedObjectPrimaryKey, String hzMemberName, String ownerId, Date initialExpiration, long intervalDuration, EJBTimerSchedule schedule, jakarta.ejb.TimerConfig timerConfig) -
Uses of TimerPrimaryKey in org.glassfish.ejb.persistent.timer
Methods in org.glassfish.ejb.persistent.timer that return types with arguments of type TimerPrimaryKey Modifier and Type Method Description protected Collection<TimerPrimaryKey>PersistentEJBTimerService. getTimerIds(long containerId, Object timedObjectPrimaryKey)Use database query to retrieve persistrent timer ids of all active timers.protected Collection<TimerPrimaryKey>PersistentEJBTimerService. getTimerIds(Collection<Long> containerIds)Return the Ids of active timers owned by EJBs.protected Map<TimerPrimaryKey,Method>PersistentEJBTimerService. recoverAndCreateSchedules(long containerId, long applicationId, Map<Method,List<ScheduledTimerDescriptor>> schedules, boolean deploy)Recover pre-existing timers associated with the Container identified by the containerId, and create automatic timers defined by the @Schedule annotation on the EJB bean.Methods in org.glassfish.ejb.persistent.timer with parameters of type TimerPrimaryKey Modifier and Type Method Description protected voidPersistentEJBTimerService. _createTimer(TimerPrimaryKey timerId, long containerId, long applicationId, Object timedObjectPrimaryKey, String server_name, Date initialExpiration, long intervalDuration, EJBTimerSchedule schedule, jakarta.ejb.TimerConfig timerConfig)Create persistent timer.voidTimerBean. cancel(TimerPrimaryKey timerId)voidTimerLocal. cancel(TimerPrimaryKey timerId)Cancel timer.protected voidPersistentEJBTimerService. cancelTimer(TimerPrimaryKey timerId)protected voidPersistentEJBTimerService. expungeTimer(TimerPrimaryKey timerId, boolean removeTimerBean)TimerStateTimerBean. findTimer(TimerPrimaryKey timerId)TimerStateTimerLocal. findTimer(TimerPrimaryKey timerId)protected SerializablePersistentEJBTimerService. getInfo(TimerPrimaryKey timerId)protected DatePersistentEJBTimerService. getNextTimeout(TimerPrimaryKey timerId)protected EJBTimerSchedulePersistentEJBTimerService. getTimerSchedule(TimerPrimaryKey timerId)protected booleanPersistentEJBTimerService. isPersistent(TimerPrimaryKey timerId)protected booleanPersistentEJBTimerService. isValidTimerForThisServer(TimerPrimaryKey timerId, RuntimeTimerState timerState)Persistent timers can be cancelled from another server instancevoidTimerBean. remove(TimerPrimaryKey timerId)voidTimerLocal. remove(TimerPrimaryKey timerId)protected voidPersistentEJBTimerService. resetLastExpiration(TimerPrimaryKey timerId, RuntimeTimerState timerState)Update database for a persistent timerprotected booleanPersistentEJBTimerService. timerExists(TimerPrimaryKey timerId)Method parameters in org.glassfish.ejb.persistent.timer with type arguments of type TimerPrimaryKey Modifier and Type Method Description voidTimerBean. remove(Set<TimerPrimaryKey> timerIds)voidTimerLocal. remove(Set<TimerPrimaryKey> timerIds)
-