org.apache.openejb.core.timer
Interface TimerStore
- All Known Implementing Classes:
- DatabaseTimerStore, MemoryTimerStore
public interface TimerStore
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.