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;
|
2023-03-31 16:13:52 +02:00
|
|
|
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();
|
|
|
|
|
|
|
|
}
|