package eu.dnetlib.openaire.dsm.dao;

import java.util.Queue;

import eu.dnetlib.enabling.datasources.common.DsmException;
import eu.dnetlib.openaire.dsm.dao.utils.IndexDsInfo;
import eu.dnetlib.openaire.dsm.dao.utils.IndexRecordsInfo;

public interface DatasourceIndexClient {

	IndexRecordsInfo getIndexInfo(final String dsId, final IndexDsInfo info, final Queue<Throwable> errors) throws DsmException;

	String getLastIndexingDate(final IndexDsInfo info) throws DsmException;



}
