public interface EjbTimerService
Modifier and Type | Method and Description |
---|---|
Timer |
createTimer(java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
java.util.Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig) |
Timer |
createTimer(java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
java.util.Date expiration,
TimerConfig timerConfig) |
Timer |
createTimer(java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
long initialDuration,
long intervalDuration,
TimerConfig timerConfig) |
Timer |
createTimer(java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
long duration,
TimerConfig timerConfig) |
Timer |
createTimer(java.lang.Object primaryKey,
java.lang.reflect.Method timeoutMethod,
ScheduleExpression schedule,
TimerConfig timerConfig) |
Timer |
getTimer(long id) |
java.util.Collection<Timer> |
getTimers(java.lang.Object primaryKey) |
TimerStore |
getTimerStore() |
boolean |
isStarted() |
void |
start() |
void |
stop() |
Timer getTimer(long id)
java.util.Collection<Timer> getTimers(java.lang.Object primaryKey)
Timer createTimer(java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, java.util.Date initialExpiration, long intervalDuration, TimerConfig timerConfig)
Timer createTimer(java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, java.util.Date expiration, TimerConfig timerConfig)
Timer createTimer(java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, long initialDuration, long intervalDuration, TimerConfig timerConfig)
Timer createTimer(java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, long duration, TimerConfig timerConfig)
Timer createTimer(java.lang.Object primaryKey, java.lang.reflect.Method timeoutMethod, ScheduleExpression schedule, TimerConfig timerConfig)
void start() throws OpenEJBException
OpenEJBException
void stop()
TimerStore getTimerStore()
boolean isStarted()