| org.jboss.ejb.txtimer.PersistencePolicy
PersistencePolicy | public interface PersistencePolicy (Code) | | Timers are persistent objects. In the event of a container crash, any single-event timers that have expired
during the intervening time before container restart must cause the ejbTimeout method to be invoked
upon restart. Any interval timers that have expired during the intervening time must cause the ejb-
Timeout method to be invoked at least once upon restart.
author: Thomas.Diesler@jboss.org author: Dimitris.Andreadis@jboss.org version: $Revision: 57209 $ since: 09-Sep-2004 |
clearTimers | void clearTimers()(Code) | | Clear the persisted timers
|
deleteTimer | void deleteTimer(String timerId, TimedObjectId timedObjectId)(Code) | | Deletes a timer from persistent storage.
Parameters: timerId - The timer id Parameters: timedObjectId - The id of the timed object |
insertTimer | void insertTimer(String timerId, TimedObjectId targetId, Date firstEvent, long periode, Serializable info)(Code) | | Inserts a timer into persistent storage.
Parameters: timerId - The timer id Parameters: targetId - The timed object id Parameters: firstEvent - The point in time at which the first txtimer expiration must occur. Parameters: periode - The number of milliseconds that must elapse between txtimer expiration notifications. Parameters: info - A serializable handback object. |
listTimerHandles | List listTimerHandles(ObjectName containerId, ClassLoader loader)(Code) | | List the persisted timer handles for a particular container
Parameters: containerId - The Container ObjectName Parameters: loader - The ClassLoader to use for loading the handles a list of TimerHandleImpl objects |
listTimerHandles | List listTimerHandles()(Code) | | List all the persisted timer handles
a list of TimerHandleImpl objects |
|
|