public class MemoryTimerStore extends Object implements TimerStore
| Constructor and Description |
|---|
MemoryTimerStore(TransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimerData(TimerData timerData) |
TimerData |
createCalendarTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
javax.ejb.ScheduleExpression scheduleExpression,
javax.ejb.TimerConfig timerConfig,
boolean auto) |
TimerData |
createIntervalTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
Date initialExpiration,
long intervalDuration,
javax.ejb.TimerConfig timerConfig) |
TimerData |
createSingleActionTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
Date expiration,
javax.ejb.TimerConfig timerConfig) |
TimerData |
getTimer(String deploymentId,
long timerId) |
Collection<TimerData> |
getTimers(String deploymentId) |
Collection<TimerData> |
loadTimers(EjbTimerServiceImpl timerService,
String deploymentId) |
void |
removeTimer(long id) |
void |
updateIntervalTimer(TimerData timerData) |
public MemoryTimerStore(TransactionManager transactionManager)
public TimerData getTimer(String deploymentId, long timerId)
getTimer in interface TimerStorepublic Collection<TimerData> getTimers(String deploymentId)
getTimers in interface TimerStorepublic Collection<TimerData> loadTimers(EjbTimerServiceImpl timerService, String deploymentId) throws TimerStoreException
loadTimers in interface TimerStoreTimerStoreExceptionpublic void addTimerData(TimerData timerData) throws TimerStoreException
addTimerData in interface TimerStoreTimerStoreExceptionpublic TimerData createCalendarTimer(EjbTimerServiceImpl timerService, String deploymentId, Object primaryKey, Method timeoutMethod, javax.ejb.ScheduleExpression scheduleExpression, javax.ejb.TimerConfig timerConfig, boolean auto) throws TimerStoreException
createCalendarTimer in interface TimerStoreTimerStoreExceptionpublic TimerData createIntervalTimer(EjbTimerServiceImpl timerService, String deploymentId, Object primaryKey, Method timeoutMethod, Date initialExpiration, long intervalDuration, javax.ejb.TimerConfig timerConfig) throws TimerStoreException
createIntervalTimer in interface TimerStoreTimerStoreExceptionpublic TimerData createSingleActionTimer(EjbTimerServiceImpl timerService, String deploymentId, Object primaryKey, Method timeoutMethod, Date expiration, javax.ejb.TimerConfig timerConfig) throws TimerStoreException
createSingleActionTimer in interface TimerStoreTimerStoreExceptionpublic void removeTimer(long id)
removeTimer in interface TimerStorepublic void updateIntervalTimer(TimerData timerData)
updateIntervalTimer in interface TimerStoreCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.