19 lines
430 B
Java
19 lines
430 B
Java
package eu.dnetlib.broker.events.output;
|
|
|
|
import eu.dnetlib.broker.common.elasticsearch.Event;
|
|
import eu.dnetlib.broker.common.subscriptions.NotificationMode;
|
|
import eu.dnetlib.broker.common.subscriptions.Subscription;
|
|
|
|
public interface NotificationDispatcher {
|
|
|
|
void sendNotification(Subscription subscription, Event... events);
|
|
|
|
void resetCount();
|
|
|
|
String getDispatcherName();
|
|
|
|
long count();
|
|
|
|
NotificationMode getMode();
|
|
}
|