Package | Description |
---|---|
javax.ejb |
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.