org.apache.openejb.core.timer
Interface TimerStore

All Known Implementing Classes:
DatabaseTimerStore, MemoryTimerStore

public interface TimerStore


Method Summary
 void addTimerData(TimerData timerData)
           
 TimerData createTimer(EjbTimerServiceImpl timerService, String deploymentId, Object primaryKey, Object info, Date expiration, long intervalDuration)
           
 TimerData getTimer(String deploymentId, long timerId)
           
 Collection<TimerData> getTimers(String deploymentId)
           
 Collection<TimerData> loadTimers(EjbTimerServiceImpl timerService, String deploymentId)
           
 void removeTimer(long timerId)
           
 void updateIntervalTimer(TimerData timerData)
           
 

Method Detail

getTimer

TimerData getTimer(String deploymentId,
                   long timerId)

getTimers

Collection<TimerData> getTimers(String deploymentId)

loadTimers

Collection<TimerData> loadTimers(EjbTimerServiceImpl timerService,
                                 String deploymentId)
                                 throws TimerStoreException
Throws:
TimerStoreException

addTimerData

void addTimerData(TimerData timerData)
                  throws TimerStoreException
Throws:
TimerStoreException

createTimer

TimerData createTimer(EjbTimerServiceImpl timerService,
                      String deploymentId,
                      Object primaryKey,
                      Object info,
                      Date expiration,
                      long intervalDuration)
                      throws TimerStoreException
Throws:
TimerStoreException

removeTimer

void removeTimer(long timerId)

updateIntervalTimer

void updateIntervalTimer(TimerData timerData)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.