org.apache.geronimo.timer
Interface WorkerPersistence
- All Known Implementing Classes:
- JDBCWorkerPersistence, VMWorkerPersistence
public interface WorkerPersistence
save
void save(WorkInfo workInfo)
throws PersistenceException
- Throws:
PersistenceException
cancel
void cancel(long id)
throws PersistenceException
- Throws:
PersistenceException
playback
void playback(String key,
Playback playback)
throws PersistenceException
- Throws:
PersistenceException
fixedRateWorkPerformed
void fixedRateWorkPerformed(long id)
throws PersistenceException
- Throws:
PersistenceException
intervalWorkPerformed
void intervalWorkPerformed(long id,
long period)
throws PersistenceException
- Throws:
PersistenceException
getIdsByKey
Collection getIdsByKey(String key,
Object userId)
throws PersistenceException
- Throws:
PersistenceException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.