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 |
TimerImpl.Builder.build(TimerServiceImpl timerService) |
TimerImpl |
TimerServiceImpl.getTimer(String timedObjectId,
String timerId) |
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 |
---|---|
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.cancelTimer(TimerImpl timer) |
void |
TimerServiceImpl.expireTimer(TimerImpl timer) |
void |
TimerServiceImpl.invokeTimeout(TimerImpl timer) |
void |
TimerServiceImpl.persistTimer(TimerImpl timer,
boolean newTimer)
Persists the passed
timer . |
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 an active state, so that it becomes eligible for timeouts
|
Modifier and Type | Method and Description |
---|---|
List<TimerImpl> |
TimerPersistence.loadActiveTimers(String timedObjectId,
TimerServiceImpl timerService)
Load all active timers for the given object.
|
Modifier and Type | Method and Description |
---|---|
void |
TimerPersistence.addTimer(TimerImpl timer)
Called when a timer is being persisted
|
void |
TimerPersistence.persistTimer(TimerImpl timer)
Called when a timer is being persisted
|
Constructor and Description |
---|
TimerEntity(TimerImpl timer) |
Modifier and Type | Method and Description |
---|---|
List<TimerImpl> |
DatabaseTimerPersistence.loadActiveTimers(String timedObjectId,
TimerServiceImpl timerService) |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseTimerPersistence.addTimer(TimerImpl timerEntity) |
void |
DatabaseTimerPersistence.persistTimer(TimerImpl timerEntity) |
Modifier and Type | Method and Description |
---|---|
List<TimerImpl> |
FileTimerPersistence.loadActiveTimers(String timedObjectId,
TimerServiceImpl timerService) |
Modifier and Type | Method and Description |
---|---|
void |
FileTimerPersistence.addTimer(TimerImpl TimerImpl) |
void |
FileTimerPersistence.persistTimer(TimerImpl TimerImpl) |
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 | Method and Description |
---|---|
protected Date |
TimerTask.calculateNextTimeout(TimerImpl timer) |
protected Date |
CalendarTimerTask.calculateNextTimeout(TimerImpl timer) |
protected void |
TimerTask.callTimeout(TimerImpl timer) |
protected void |
CalendarTimerTask.callTimeout(TimerImpl timer) |
protected void |
TimerTask.postTimeoutProcessing(TimerImpl timer) |
protected void |
CalendarTimerTask.postTimeoutProcessing(TimerImpl timer) |
protected void |
TimerTask.retryTimeout(TimerImpl timer) |
protected void |
TimerTask.scheduleTimeoutIfRequired(TimerImpl timer) |
protected void |
CalendarTimerTask.scheduleTimeoutIfRequired(TimerImpl timer) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.