org.apache.geronimo.timer
Interface WorkerPersistence

All Known Implementing Classes:
JDBCWorkerPersistence, VMWorkerPersistence

public interface WorkerPersistence

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Method Summary
 void cancel(long id)
           
 void fixedRateWorkPerformed(long id)
           
 Collection getIdsByKey(String key, Object userId)
           
 void intervalWorkPerformed(long id, long period)
           
 void playback(String key, Playback playback)
           
 void save(WorkInfo workInfo)
           
 

Method Detail

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-2007 Apache Software Foundation. All Rights Reserved.