| java.lang.Object org.apache.geronimo.timer.ThreadPooledTimer
All known Subclasses: org.apache.geronimo.timer.vm.VMStoreThreadPooledTransactionalTimer, org.apache.geronimo.timer.vm.VMStoreThreadPooledNonTransactionalTimer, org.apache.geronimo.timer.jdbc.JDBCStoreThreadPooledTransactionalTimer, org.apache.geronimo.timer.jdbc.JDBCStoreThreadPooledNonTransactionalTimer,
ThreadPooledTimer | public class ThreadPooledTimer implements PersistentTimer,GBeanLifecycle(Code) | | version: $Rev: 520573 $ $Date: 2007-03-20 13:48:26 -0700 (Tue, 20 Mar 2007) $ |
Method Summary | |
void | addWorkInfo(WorkInfo worker) | public void | cancelTimerTasks(Collection ids) Called when client, eg. | public void | doFail() | public void | doStart() | public void | doStop() | Executor | getExecutor() | public Collection | getIdsByKey(String key, Object userId) | Timer | getTimer() | public WorkInfo | getWorkInfo(Long id) | WorkerPersistence | getWorkerPersistence() | public Collection | playback(String key, UserTaskFactory userTaskFactory) | void | registerSynchronization(Synchronization sync) | void | removeWorkInfo(WorkInfo workInfo) | public WorkInfo | schedule(UserTaskFactory userTaskFactory, String key, Object userId, Object userInfo, long delay) | public WorkInfo | schedule(String key, UserTaskFactory userTaskFactory, Object userId, Object userInfo, Date time) | public WorkInfo | schedule(String key, UserTaskFactory userTaskFactory, Object userInfo, long delay, long period, Object userId) | public WorkInfo | schedule(String key, UserTaskFactory userTaskFactory, Object userId, Object userInfo, Date firstTime, long period) | public WorkInfo | scheduleAtFixedRate(String key, UserTaskFactory userTaskFactory, Object userId, Object userInfo, long delay, long period) | public WorkInfo | scheduleAtFixedRate(String key, UserTaskFactory userTaskFactory, Object userId, Object userInfo, Date firstTime, long period) | void | workPerformed(WorkInfo workInfo) |
ThreadPooledTimer | public ThreadPooledTimer()(Code) | | |
cancelTimerTasks | public void cancelTimerTasks(Collection ids)(Code) | | Called when client, eg. ejb container, is stopped and needs to cancel its timertasks without
affecting persisted timer data.
Parameters: ids - list of ids to have their corresponding workInfo timertasks cancelled. |
doFail | public void doFail()(Code) | | |
doStop | public void doStop()(Code) | | |
registerSynchronization | void registerSynchronization(Synchronization sync) throws RollbackException, SystemException(Code) | | |
|
|