| java.lang.Object org.jboss.ejb.txtimer.NoopPersistencePolicy
NoopPersistencePolicy | public class NoopPersistencePolicy implements NoopPersistencePolicyMBean(Code) | | This service implements a PersistencePolicy that does not persist the timer.
author: Thomas.Diesler@jboss.org author: Dimitris.Andreadis@jboss.org version: $Revision: 57209 $ since: 09-Sep-2004 |
clearTimers | public void clearTimers()(Code) | | Delete all persisted timers
|
deleteTimer | public void deleteTimer(String timerId, TimedObjectId timedObjectId)(Code) | | Removes the timer from persistent storage.
Parameters: timerId - The timer id Parameters: timedObjectId - The id of the timed object |
insertTimer | public void insertTimer(String timerId, TimedObjectId timedObjectId, Date firstEvent, long periode, Serializable info)(Code) | | Creates the timer in persistent storage.
Parameters: timerId - The timer id Parameters: timedObjectId - The timed object id Parameters: firstEvent - The point in time at which the first txtimer expiration must occur. 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. |
listTimerHandles | public List listTimerHandles(ObjectName containerId, ClassLoader loader)(Code) | | List the persisted timer handles
Parameters: loader - The ClassLoader to use for loading the handles a list of TimerHandleImpl objects |
listTimerHandles | public List listTimerHandles()(Code) | | Return a List of TimerHandle objects.
|
listTimerHandles | public List listTimerHandles(TimedObjectId timedObjectId)(Code) | | List the persisted timers for a particular TimerObjectId,
or all persisted timers if timedObjectId is null.
Parameters: timedObjectId - The id of the timed object, or null a list of TimerHandleImpl objects |
restoreTimers | public void restoreTimers()(Code) | | Restore the persistet timers
|
|
|