public interface TimerLocal
void cancel(TimerPrimaryKey timerId) throws Exception
Exception
void cancelTimers(Collection<TimerState> timers)
TimerState createTimer(String timerId, long containerId, long applicationId, String ownerId, Object timedObjectPrimaryKey, Date initialExpiration, long intervalDuration, EJBTimerSchedule schedule, javax.ejb.TimerConfig timerConfig) throws javax.ejb.CreateException
javax.ejb.CreateException
TimerState findTimer(TimerPrimaryKey timerId)
void remove(TimerPrimaryKey timerId)
void remove(Set<TimerPrimaryKey> timerIds)
Set findTimerIdsByContainer(long containerId)
Set findActiveTimerIdsByContainer(long containerId)
Set findActiveTimerIdsByContainers(Collection<Long> containerIds)
Set findCancelledTimerIdsByContainer(long containerId)
Set findTimerIdsOwnedByThisServerByContainer(long containerId)
Set findActiveTimerIdsOwnedByThisServerByContainer(long containerId)
Set findCancelledTimerIdsOwnedByThisServerByContainer(long containerId)
Set findTimerIdsOwnedByThisServer()
Set findActiveTimerIdsOwnedByThisServer()
Set findCancelledTimerIdsOwnedByThisServer()
Set findTimersByContainer(long containerId)
Set findActiveTimersByContainer(long containerId)
Set findCancelledTimersByContainer(long containerId)
Set findTimersOwnedByThisServerByContainer(long containerId)
Set findActiveTimersOwnedByThisServerByContainer(long containerId)
Set findCancelledTimersOwnedByThisServerByContainer(long containerId)
Set findTimersOwnedByThisServer()
Set findActiveTimersOwnedByThisServer()
Set findCancelledTimersOwnedByThisServer()
int countTimersByApplication(long applicationId)
int countTimersByContainer(long containerId)
int countActiveTimersByContainer(long containerId)
int countCancelledTimersByContainer(long containerId)
int countTimersOwnedByThisServerByContainer(long containerId)
int countActiveTimersOwnedByThisServerByContainer(long containerId)
int countCancelledTimersOwnedByThisServerByContainer(long containerId)
int countTimersOwnedByThisServer()
int countActiveTimersOwnedByThisServer()
int countCancelledTimersOwnedByThisServer()
int countTimersOwnedBy(String owner)
int countActiveTimersOwnedBy(String owner)
int countCancelledTimersOwnedBy(String owner)
boolean checkStatus(String resourceJndiName, boolean checkDatabase)
int deleteTimersByContainer(long containerId)
int deleteTimersByApplication(long applicationId)
Copyright © 2021. All rights reserved.