org.apache.openejb.core.timer
Class MemoryTimerStore
java.lang.Object
org.apache.openejb.core.timer.MemoryTimerStore
- All Implemented Interfaces:
- TimerStore
public class MemoryTimerStore
- extends Object
- implements TimerStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryTimerStore
public MemoryTimerStore(TransactionManager transactionManager)
getTimer
public TimerData getTimer(String deploymentId,
long timerId)
- Specified by:
getTimer
in interface TimerStore
getTimers
public Collection<TimerData> getTimers(String deploymentId)
- Specified by:
getTimers
in interface TimerStore
loadTimers
public Collection<TimerData> loadTimers(EjbTimerServiceImpl timerService,
String deploymentId)
throws TimerStoreException
- Specified by:
loadTimers
in interface TimerStore
- Throws:
TimerStoreException
addTimerData
public void addTimerData(TimerData timerData)
throws TimerStoreException
- Specified by:
addTimerData
in interface TimerStore
- Throws:
TimerStoreException
createTimer
public TimerData createTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Object info,
Date expiration,
long intervalDuration)
throws TimerStoreException
- Specified by:
createTimer
in interface TimerStore
- Throws:
TimerStoreException
removeTimer
public void removeTimer(long id)
- Specified by:
removeTimer
in interface TimerStore
updateIntervalTimer
public void updateIntervalTimer(TimerData timerData)
- Specified by:
updateIntervalTimer
in interface TimerStore
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.