Package | Description |
---|---|
javax.ejb |
Modifier and Type | Method and Description |
---|---|
Timer |
TimerService.createCalendarTimer(ScheduleExpression schedule)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
TimerService.createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
TimerService.createIntervalTimer(Date initialExpiration,
long intervalDuration,
TimerConfig timerConfig)
Create an interval timer whose first expiration occurs at a given point in time and
whose subsequent expirations occur after a specified interval.
|
Timer |
TimerService.createIntervalTimer(long initialDuration,
long intervalDuration,
TimerConfig timerConfig)
Create an interval timer whose first expiration occurs after a specified duration,
and whose subsequent expirations occur after a specified interval.
|
Timer |
TimerService.createSingleActionTimer(Date expiration,
TimerConfig timerConfig)
Create a single-action timer that expires at a given point in time.
|
Timer |
TimerService.createSingleActionTimer(long duration,
TimerConfig timerConfig)
Create a single-action timer that expires after a specified duration.
|
Timer |
TimerService.createTimer(Date initialExpiration,
long intervalDuration,
Serializable info)
Create an interval timer whose first expiration occurs at a given point in time and
whose subsequent expirations occur after a specified interval.
|
Timer |
TimerService.createTimer(Date expiration,
Serializable info)
Create a single-action timer that expires at a given point in time.
|
Timer |
TimerService.createTimer(long initialDuration,
long intervalDuration,
Serializable info)
Create an interval timer whose first expiration occurs after a specified duration,
and whose subsequent expirations occur after a specified interval.
|
Timer |
TimerService.createTimer(long duration,
Serializable info)
Create a single-action timer that expires after a specified duration.
|
Timer |
TimerHandle.getTimer()
Obtain a reference to the timer represented by this handle.
|
Modifier and Type | Method and Description |
---|---|
Collection<Timer> |
TimerService.getAllTimers()
Returns all active timers associated with the beans in the same module in which the caller
bean is packaged.
|
Collection<Timer> |
TimerService.getTimers()
Get all the active timers associated with this bean.
|
Modifier and Type | Method and Description |
---|---|
void |
TimedObject.ejbTimeout(Timer timer)
Invoked by the EJB container upon timer expiration.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.