public interface TimerService
Modifier and Type | Method and Description |
---|---|
Timer |
createCalendarTimer(ScheduleExpression schedule) |
Timer |
createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig) |
Timer |
createIntervalTimer(Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig) |
Timer |
createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig) |
Timer |
createSingleActionTimer(Date expiration,
TimerConfig timerConfig) |
Timer |
createSingleActionTimer(long duration,
TimerConfig timerConfig) |
Timer |
createTimer(Date initialExpiration,
long intervalDuration,
Serializable info) |
Timer |
createTimer(Date expiration,
Serializable info) |
Timer |
createTimer(long initialDuration,
long intervalDuration,
Serializable info) |
Timer |
createTimer(long duration,
Serializable info) |
Collection<Timer> |
getTimers() |
Timer createTimer(Date initialExpiration, long intervalDuration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createTimer(Date expiration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createTimer(long initialDuration, long intervalDuration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createTimer(long duration, Serializable info) throws IllegalArgumentException, IllegalStateException, EJBException
Collection<Timer> getTimers() throws IllegalStateException, EJBException
IllegalStateException
EJBException
Timer createSingleActionTimer(long duration, TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createSingleActionTimer(Date expiration, TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createIntervalTimer(long initialDuration, long intervalDuration, TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createIntervalTimer(Date initialExpiration, long intervalDuration, TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createCalendarTimer(ScheduleExpression schedule) throws IllegalArgumentException, IllegalStateException, EJBException
Timer createCalendarTimer(ScheduleExpression schedule, TimerConfig timerConfig) throws IllegalArgumentException, IllegalStateException, EJBException
Copyright © 2017. All rights reserved.