1 17 18 package org.apache.geronimo.timer; 19 20 import java.util.Collection ; 21 22 28 public interface WorkerPersistence { 29 30 void save(WorkInfo workInfo) throws PersistenceException; 31 32 void cancel(long id) throws PersistenceException; 33 34 void playback(String key, Playback playback) throws PersistenceException; 35 36 void fixedRateWorkPerformed(long id) throws PersistenceException; 37 38 void intervalWorkPerformed(long id, long period) throws PersistenceException; 39 40 Collection getIdsByKey(String key, Object userId) throws PersistenceException; 41 } 42 | Popular Tags |