public interface TimerStore
Modifier and Type | Method and Description |
---|---|
void |
addTimerData(TimerData timerData) |
TimerData |
createCalendarTimer(EjbTimerServiceImpl timerService,
java.lang.String deploymentId,
java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
ScheduleExpression schedule,
TimerConfig timerConfig,
boolean auto) |
TimerData |
createIntervalTimer(EjbTimerServiceImpl timerService,
java.lang.String deploymentId,
java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
java.util.Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig) |
TimerData |
createSingleActionTimer(EjbTimerServiceImpl timerService,
java.lang.String deploymentId,
java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
java.util.Date expiration,
TimerConfig timerConfig) |
TimerData |
getTimer(java.lang.String deploymentId,
long timerId) |
java.util.Collection<TimerData> |
getTimers(java.lang.String deploymentId) |
java.util.Collection<TimerData> |
loadTimers(EjbTimerServiceImpl timerService,
java.lang.String deploymentId) |
void |
removeTimer(long timerId) |
void |
updateIntervalTimer(TimerData timerData) |
TimerData getTimer(java.lang.String deploymentId, long timerId)
java.util.Collection<TimerData> getTimers(java.lang.String deploymentId)
java.util.Collection<TimerData> loadTimers(EjbTimerServiceImpl timerService, java.lang.String deploymentId) throws TimerStoreException
TimerStoreException
void addTimerData(TimerData timerData) throws TimerStoreException
TimerStoreException
TimerData createSingleActionTimer(EjbTimerServiceImpl timerService, java.lang.String deploymentId, java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, java.util.Date expiration, TimerConfig timerConfig) throws TimerStoreException
TimerStoreException
TimerData createIntervalTimer(EjbTimerServiceImpl timerService, java.lang.String deploymentId, java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, java.util.Date initialExpiration, long intervalDuration, TimerConfig timerConfig) throws TimerStoreException
TimerStoreException
TimerData createCalendarTimer(EjbTimerServiceImpl timerService, java.lang.String deploymentId, java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, ScheduleExpression schedule, TimerConfig timerConfig, boolean auto) throws TimerStoreException
TimerStoreException
void removeTimer(long timerId)
void updateIntervalTimer(TimerData timerData)