|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.txtimer.NoopPersistencePolicy
This service implements a PersistencePolicy that does not persist the timer.
| Constructor Summary | |
NoopPersistencePolicy()
|
|
| Method Summary | |
void |
clearTimers()
Delete all persisted timers |
void |
deleteTimer(java.lang.String timerId,
TimedObjectId (src) timedObjectId)
Removes the timer from persistent storage. |
void |
insertTimer(java.lang.String timerId,
TimedObjectId (src) timedObjectId,
java.util.Date firstEvent,
long periode,
java.io.Serializable info)
Creates the timer in persistent storage. |
java.util.List |
listTimerHandles()
Return a List of TimerHandle objects. |
void |
restoreTimers()
Restore the persistet timers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoopPersistencePolicy()
| Method Detail |
public void insertTimer(java.lang.String timerId,
TimedObjectId (src) timedObjectId,
java.util.Date firstEvent,
long periode,
java.io.Serializable info)
timerId - The timer idtimedObjectId - The timed object idfirstEvent - The point in time at which the first txtimer expiration must occur.periode - The number of milliseconds that must elapse between txtimer expiration notifications.
public void deleteTimer(java.lang.String timerId,
TimedObjectId (src) timedObjectId)
timerId - The timer idtimedObjectId - The id of the timed objectpublic void restoreTimers()
public java.util.List listTimerHandles()
public void clearTimers()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||