Package | Description |
---|---|
com.caucho.config.timer | |
com.caucho.ejb.server | |
com.caucho.ejb.timer | |
javax.ejb |
Modifier and Type | Class and Description |
---|---|
class |
EjbTimer
Resin EJB timer.
|
Modifier and Type | Method and Description |
---|---|
Timer |
EjbTimerHandle.getTimer()
Obtain a reference to the timer represented by this handle.
|
Modifier and Type | Method and Description |
---|---|
void |
TimerTask.invoke(Timer timer) |
void |
TimeoutCaller.timeout(java.lang.reflect.Method method,
Timer timer) |
abstract void |
TimeoutInvoker.timeout(Timer timer) |
void |
MethodTimeoutInvoker.timeout(Timer timer) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContext.__caucho_timeout_callback(java.lang.reflect.Method method,
Timer timer)
Runs the timeout callbacks.
|
void |
AbstractContext.__caucho_timeout_callback(Timer timer)
Runs the timeout callbacks.
|
void |
AbstractEjbBeanManager.timeout(Timer timer) |
Modifier and Type | Method and Description |
---|---|
Timer |
EjbTimerService.createCalendarTimer(ScheduleExpression schedule)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
EjbTimerService.createCalendarTimer(ScheduleExpression schedule,
TimerConfig timerConfig)
Create a calendar-based timer based on the input schedule expression.
|
Timer |
EjbTimerService.createIntervalTimer(java.util.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 |
EjbTimerService.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 |
EjbTimerService.createSingleActionTimer(java.util.Date expiration,
TimerConfig timerConfig)
Create a single-action timer that expires at a given point in time.
|
Timer |
EjbTimerService.createSingleActionTimer(long duration,
TimerConfig timerConfig)
Create a single-action timer that expires after a specified duration.
|
Timer |
EjbTimerService.createTimer(java.util.Date initialExpiration,
long intervalDuration,
java.io.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 |
EjbTimerService.createTimer(java.util.Date expiration,
java.io.Serializable info)
Create a single-action timer that expires at a given point in time.
|
Timer |
EjbTimerService.createTimer(long initialDuration,
long intervalDuration,
java.io.Serializable info)
Create an interval timer whose first expiration occurs after a specified
duration, and whose subsequent expirations occur after a specified
interval.
|
Timer |
EjbTimerService.createTimer(long duration,
java.io.Serializable info)
Create a single-action timer that expires after a specified duration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Timer> |
EjbTimerService.getTimers()
Get all the active timers associated with this bean.
|
Modifier and Type | Method and Description |
---|---|
void |
EjbTimerInvocation.timeout(Timer timer) |
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(java.util.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(java.util.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(java.util.Date initialExpiration,
long intervalDuration,
java.io.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(java.util.Date expiration,
java.io.Serializable info)
Create a single-action timer that expires at a given point in time.
|
Timer |
TimerService.createTimer(long initialDuration,
long intervalDuration,
java.io.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,
java.io.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 |
---|---|
java.util.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.
|