File | Line |
---|
org/apache/geronimo/timer/ThreadPooledTimer.java | 121 |
org/apache/geronimo/timer/ThreadPooledTimer.java | 148 |
public WorkInfo scheduleAtFixedRate(String key, UserTaskFactory userTaskFactory, Object userId, Object userInfo, Date firstTime, long period) throws PersistenceException, RollbackException, SystemException {
if (firstTime ==null) {
throw new IllegalArgumentException("No time supplied");
}
if (firstTime.getTime() < 0) {
throw new IllegalArgumentException("Negative time: " + firstTime.getTime());
}
if (period < 0) {
throw new IllegalArgumentException("Negative period: " + period);
}
WorkInfo worker = createWorker(key, userTaskFactory, executorTaskFactory, userId, userInfo, firstTime, new Long(period), true); |