Interface TimerLocal

All Known Implementing Classes:
TimerBean

public interface TimerLocal
Local view of the persistent representation of an EJB timer.
Author:
Kenneth Saks, Marina Vatkina
  • Method Details

    • cancel

      void cancel(com.sun.ejb.containers.TimerPrimaryKey timerId) throws Exception
      Cancel timer.
      Throws:
      Exception
    • cancelTimers

      void cancelTimers(Collection<TimerState> timers)
    • createTimer

      TimerState createTimer(String timerId, long containerId, long applicationId, String ownerId, Object timedObjectPrimaryKey, Date initialExpiration, long intervalDuration, com.sun.ejb.containers.EJBTimerSchedule schedule, jakarta.ejb.TimerConfig timerConfig) throws jakarta.ejb.CreateException
      Throws:
      jakarta.ejb.CreateException
    • findTimer

      TimerState findTimer(com.sun.ejb.containers.TimerPrimaryKey timerId)
    • remove

      void remove(com.sun.ejb.containers.TimerPrimaryKey timerId)
    • remove

      void remove(Set<com.sun.ejb.containers.TimerPrimaryKey> timerIds)
    • findTimerIdsByContainer

      Set findTimerIdsByContainer(long containerId)
    • findActiveTimerIdsByContainer

      Set findActiveTimerIdsByContainer(long containerId)
    • findActiveTimerIdsByContainers

      Set findActiveTimerIdsByContainers(Collection<Long> containerIds)
    • findCancelledTimerIdsByContainer

      Set findCancelledTimerIdsByContainer(long containerId)
    • findTimerIdsOwnedByThisServerByContainer

      Set findTimerIdsOwnedByThisServerByContainer(long containerId)
    • findActiveTimerIdsOwnedByThisServerByContainer

      Set findActiveTimerIdsOwnedByThisServerByContainer(long containerId)
    • findCancelledTimerIdsOwnedByThisServerByContainer

      Set findCancelledTimerIdsOwnedByThisServerByContainer(long containerId)
    • findTimerIdsOwnedByThisServer

      Set findTimerIdsOwnedByThisServer()
    • findActiveTimerIdsOwnedByThisServer

      Set findActiveTimerIdsOwnedByThisServer()
    • findCancelledTimerIdsOwnedByThisServer

      Set findCancelledTimerIdsOwnedByThisServer()
    • findTimerIdsOwnedBy

      Set findTimerIdsOwnedBy(String owner)
    • findActiveTimerIdsOwnedBy

      Set findActiveTimerIdsOwnedBy(String owner)
    • findCancelledTimerIdsOwnedBy

      Set findCancelledTimerIdsOwnedBy(String owner)
    • findTimersByContainer

      Set findTimersByContainer(long containerId)
    • findActiveTimersByContainer

      Set findActiveTimersByContainer(long containerId)
    • findCancelledTimersByContainer

      Set findCancelledTimersByContainer(long containerId)
    • findTimersOwnedByThisServerByContainer

      Set findTimersOwnedByThisServerByContainer(long containerId)
    • findActiveTimersOwnedByThisServerByContainer

      Set findActiveTimersOwnedByThisServerByContainer(long containerId)
    • findCancelledTimersOwnedByThisServerByContainer

      Set findCancelledTimersOwnedByThisServerByContainer(long containerId)
    • findTimersOwnedByThisServer

      Set findTimersOwnedByThisServer()
    • findActiveTimersOwnedByThisServer

      Set findActiveTimersOwnedByThisServer()
    • findCancelledTimersOwnedByThisServer

      Set findCancelledTimersOwnedByThisServer()
    • findTimersOwnedBy

      Set findTimersOwnedBy(String owner)
    • findActiveTimersOwnedBy

      Set findActiveTimersOwnedBy(String owner)
    • findCancelledTimersOwnedBy

      Set findCancelledTimersOwnedBy(String owner)
    • countTimersByApplication

      int countTimersByApplication(long applicationId)
    • countTimersByContainer

      int countTimersByContainer(long containerId)
    • countActiveTimersByContainer

      int countActiveTimersByContainer(long containerId)
    • countCancelledTimersByContainer

      int countCancelledTimersByContainer(long containerId)
    • countTimersOwnedByThisServerByContainer

      int countTimersOwnedByThisServerByContainer(long containerId)
    • countActiveTimersOwnedByThisServerByContainer

      int countActiveTimersOwnedByThisServerByContainer(long containerId)
    • countCancelledTimersOwnedByThisServerByContainer

      int countCancelledTimersOwnedByThisServerByContainer(long containerId)
    • countTimersOwnedByThisServer

      int countTimersOwnedByThisServer()
    • countActiveTimersOwnedByThisServer

      int countActiveTimersOwnedByThisServer()
    • countCancelledTimersOwnedByThisServer

      int countCancelledTimersOwnedByThisServer()
    • countTimersOwnedBy

      int countTimersOwnedBy(String owner)
    • countActiveTimersOwnedBy

      int countActiveTimersOwnedBy(String owner)
    • countCancelledTimersOwnedBy

      int countCancelledTimersOwnedBy(String owner)
    • countTimersOwnedByServerIds

      String[] countTimersOwnedByServerIds(String[] serverIds)
    • checkStatus

      boolean checkStatus(String resourceJndiName, boolean checkDatabase)
    • migrateTimers

      int migrateTimers(String fromOwnerId, String toOwnerId)
    • deleteTimersByContainer

      int deleteTimersByContainer(long containerId)
    • deleteTimersByApplication

      int deleteTimersByApplication(long applicationId)