dnet-applications/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/dsm/dao/MongoLoggerClient.java

18 lines
499 B
Java
Raw Normal View History

2022-02-04 10:12:15 +01:00
package eu.dnetlib.openaire.dsm.dao;
2023-01-23 10:27:07 +01:00
import java.util.List;
2023-04-03 12:22:22 +02:00
import eu.dnetlib.openaire.exporter.exceptions.DsmApiException;
import eu.dnetlib.openaire.exporter.model.dsm.AggregationInfo;
import eu.dnetlib.openaire.exporter.model.dsm.AggregationInfoV1;
2022-02-04 10:12:15 +01:00
public interface MongoLoggerClient {
2023-04-03 12:22:22 +02:00
List<AggregationInfoV1> getAggregationHistoryV1(final String dsId) throws DsmApiException;
2023-01-23 10:27:07 +01:00
2023-04-03 12:22:22 +02:00
List<AggregationInfo> getAggregationHistoryV2(final String dsId) throws DsmApiException;
2022-02-04 10:12:15 +01:00
void dropCache();
}