org.apache.openejb.core.timer
Interface TimerStore
- All Known Implementing Classes:
- DatabaseTimerStore, MemoryTimerStore
public interface TimerStore
|
Method Summary |
void |
addTimerData(TimerData timerData)
|
TimerData |
createCalendarTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
javax.ejb.ScheduleExpression schedule,
javax.ejb.TimerConfig timerConfig)
|
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 timerId)
|
void |
updateIntervalTimer(TimerData timerData)
|
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
createSingleActionTimer
TimerData createSingleActionTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
Date expiration,
javax.ejb.TimerConfig timerConfig)
throws TimerStoreException
- Throws:
TimerStoreException
createIntervalTimer
TimerData createIntervalTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
Date initialExpiration,
long intervalDuration,
javax.ejb.TimerConfig timerConfig)
throws TimerStoreException
- Throws:
TimerStoreException
createCalendarTimer
TimerData createCalendarTimer(EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
javax.ejb.ScheduleExpression schedule,
javax.ejb.TimerConfig timerConfig)
throws TimerStoreException
- Throws:
TimerStoreException
removeTimer
void removeTimer(long timerId)
updateIntervalTimer
void updateIntervalTimer(TimerData timerData)
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.