
org.ict4h.atomfeed.client.repository.AllFailedEvents Maven / Gradle / Ivy
package org.ict4h.atomfeed.client.repository;
import org.ict4h.atomfeed.client.domain.FailedEvent;
import org.ict4h.atomfeed.client.domain.FailedEventRetryLog;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
public interface AllFailedEvents {
FailedEvent get(String feedUri, String eventId);
void addOrUpdate(FailedEvent failedEvent);
List getOldestNFailedEvents(String feedUri, int numberOfFailedEvents, int failedEventMaxRetry);
int getNumberOfFailedEvents(String feedUri);
void remove(FailedEvent failedEvent);
void insert(FailedEventRetryLog failedEventRetryLog);
List getFailedEvents(String feedUri);
FailedEvent getByEventId(String eventId);
List getFailedEventRetryLogs(String eventId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy