|
|||||||||||
| PREV CLASS NEXT CLASS | 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.
| Field Summary |
| Fields inherited from interface org.jboss.ejb.txtimer.NoopPersistencePolicyMBean |
OBJECT_NAME |
| Constructor Summary | |
NoopPersistencePolicy()
|
|
| Method Summary | |
void |
clearTimers()
Delete all persisted timers |
void |
deleteTimer(String timerId,
TimedObjectId timedObjectId)
Removes the timer from persistent storage. |
void |
insertTimer(String timerId,
TimedObjectId timedObjectId,
Date firstEvent,
long periode,
Serializable info)
Creates the timer in persistent storage. |
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(String timerId, TimedObjectId timedObjectId, Date firstEvent, long periode, Serializable info)
insertTimer in interface PersistencePolicytimerId - 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.info - A serializable handback object.public void deleteTimer(String timerId, TimedObjectId timedObjectId)
deleteTimer in interface PersistencePolicytimerId - The timer idtimedObjectId - The id of the timed objectpublic void restoreTimers()
restoreTimers in interface PersistencePolicypublic List listTimerHandles()
listTimerHandles in interface PersistencePolicypublic void clearTimers()
clearTimers in interface PersistencePolicy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||