org.apache.geronimo.timer
Interface WorkerPersistence
- All Known Implementing Classes:
- JDBCWorkerPersistence, VMWorkerPersistence
- public interface WorkerPersistence
- Version:
- $Revision: 1.2 $ $Date: 2004/07/20 23:36:53 $
save
public void save(WorkInfo workInfo)
throws PersistenceException
- Throws:
PersistenceException
cancel
public void cancel(long id)
throws PersistenceException
- Throws:
PersistenceException
playback
public void playback(String key,
Playback playback)
throws PersistenceException
- Throws:
PersistenceException
fixedRateWorkPerformed
public void fixedRateWorkPerformed(long id)
throws PersistenceException
- Throws:
PersistenceException
intervalWorkPerformed
public void intervalWorkPerformed(long id,
long period)
throws PersistenceException
- Throws:
PersistenceException
getIdsByKey
public Collection getIdsByKey(String key,
Object userId)
throws PersistenceException
- Throws:
PersistenceException
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.