Package | Description |
---|---|
org.jboss.as.ejb3 | |
org.jboss.as.ejb3.timerservice | |
org.jboss.as.ejb3.timerservice.persistence | |
org.jboss.as.ejb3.timerservice.spi | |
org.jboss.as.ejb3.timerservice.task |
Modifier and Type | Method and Description |
---|---|
IllegalStateException |
EjbMessages.failToPersistTimer(TimerImpl timer)
Creates an exception indicating the timer is not persistent
|
IllegalStateException |
EjbMessages.invalidTimerNotCalendarBaseTimer(TimerImpl timer)
Creates an exception indicating the timer is not a calendar based timer"
|
void |
EjbLogger.nextExpirationIsNull(TimerImpl timer)
Logs an info message indicating the next expiration is null.
|
javax.ejb.NoMoreTimeoutsException |
EjbMessages.noMoreTimeoutForTimer(TimerImpl timer)
Creates an exception indicating no more timeouts for timer
|
Modifier and Type | Class and Description |
---|---|
class |
CalendarTimer
Represents a
Timer which is created out a calendar expression |
Modifier and Type | Method and Description |
---|---|
TimerImpl |
TimerServiceImpl.getTimer(javax.ejb.TimerHandle handle)
Returns the
Timer corresponding to the passed TimerHandle |
TimerImpl |
TimerServiceImpl.loadAutoTimer(javax.ejb.ScheduleExpression schedule,
javax.ejb.TimerConfig timerConfig,
Method timeoutMethod) |
Modifier and Type | Method and Description |
---|---|
protected void |
TimerServiceImpl.addTimer(TimerImpl timer)
TODO: Rethink about this method.
|
void |
TimedObjectInvokerImpl.callTimeout(TimerImpl timer) |
void |
TimedObjectInvokerImpl.callTimeout(TimerImpl timer,
Method timeoutMethod) |
protected void |
TimerServiceImpl.cancelTimeout(TimerImpl timer)
Cancels any scheduled
Future corresponding to the passed timer |
void |
TimerServiceImpl.persistTimer(TimerImpl timer,
boolean newTimer)
Persists the passed
timer . |
protected void |
TimerServiceImpl.registerTimerWithTx(TimerImpl timer)
Registers the timer with any active transaction so that appropriate action on the timer can be
carried out on transaction lifecycle events, through the use of
Synchronization
callbacks. |
protected void |
TimerServiceImpl.scheduleTimeout(TimerImpl timer,
boolean newTimer)
Creates and schedules a
TimerTask for the next timeout of the passed timer |
protected void |
TimerServiceImpl.startTimer(TimerImpl timer)
Registers a timer with a transaction (if any in progress) and then moves
the timer to a active state, so that it becomes eligible for timeouts
|
Constructor and Description |
---|
TimerEntity(TimerImpl timer) |
Modifier and Type | Method and Description |
---|---|
void |
TimedObjectInvoker.callTimeout(TimerImpl timer)
Invokes the ejbTimeout method on the TimedObject with the given id.
|
void |
TimedObjectInvoker.callTimeout(TimerImpl timer,
Method timeoutMethod)
Responsible for invoking the timeout method on the target object.
|
Modifier and Type | Class and Description |
---|---|
class |
TimerTask<T extends TimerImpl>
A timer task which will be invoked at appropriate intervals based on a
Timer
schedule. |
Modifier and Type | Field and Description |
---|---|
protected T |
TimerTask.timer
The timer to which this
TimerTask belongs |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.