org.apache.geronimo.timer
Interface WorkerPersistence

All Known Implementing Classes:
JDBCWorkerPersistence, VMWorkerPersistence

public interface WorkerPersistence


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

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.