1
|
package eu.dnetlib.index.actors;
|
2
|
|
3
|
import eu.dnetlib.index.feed.FeedMode;
|
4
|
|
5
|
/**
|
6
|
* The Interface IndexFeedActor.
|
7
|
*/
|
8
|
public interface IndexFeedActor {
|
9
|
|
10
|
/**
|
11
|
* Feed index.
|
12
|
*
|
13
|
* @param dsId the ds id
|
14
|
* @param feedMode the feed mode
|
15
|
* @param docIterator the doc iterator
|
16
|
* @param startCallback the start callback
|
17
|
* @param endCallback the end callback
|
18
|
* @param backendId the backend identifier
|
19
|
*/
|
20
|
void feedIndex(String dsId,
|
21
|
FeedMode feedMode,
|
22
|
Iterable<String> docIterator,
|
23
|
ResultsetKeepAliveCallback startCallback,
|
24
|
BlackboardActorCallback endCallback,
|
25
|
final String backendId,
|
26
|
boolean emptyResult);
|
27
|
|
28
|
}
|