org.apache.geronimo.timer.vm
Class VMWorkerPersistence
java.lang.Object
org.apache.geronimo.timer.vm.VMWorkerPersistence
- All Implemented Interfaces:
- WorkerPersistence
public class VMWorkerPersistence
- extends Object
- implements WorkerPersistence
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMWorkerPersistence
public VMWorkerPersistence()
save
public void save(WorkInfo workInfo)
throws PersistenceException
- Specified by:
save
in interface WorkerPersistence
- Throws:
PersistenceException
cancel
public void cancel(long id)
throws PersistenceException
- Specified by:
cancel
in interface WorkerPersistence
- Throws:
PersistenceException
playback
public void playback(String key,
Playback playback)
throws PersistenceException
- Specified by:
playback
in interface WorkerPersistence
- Throws:
PersistenceException
fixedRateWorkPerformed
public void fixedRateWorkPerformed(long id)
throws PersistenceException
- Specified by:
fixedRateWorkPerformed
in interface WorkerPersistence
- Throws:
PersistenceException
intervalWorkPerformed
public void intervalWorkPerformed(long id,
long period)
throws PersistenceException
- Specified by:
intervalWorkPerformed
in interface WorkerPersistence
- Throws:
PersistenceException
getIdsByKey
public Collection getIdsByKey(String key,
Object userId)
throws PersistenceException
- Specified by:
getIdsByKey
in interface WorkerPersistence
- Throws:
PersistenceException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.