use of org.apache.cassandra.notifications.INotification in project eiger by wlloyd.
the class DataTracker method notifyAdded.
public void notifyAdded(SSTableReader added) {
for (INotificationConsumer subscriber : subscribers) {
INotification notification = new SSTableAddedNotification(added);
subscriber.handleNotification(notification, this);
}
}
use of org.apache.cassandra.notifications.INotification in project eiger by wlloyd.
the class DataTracker method notifySSTablesChanged.
public void notifySSTablesChanged(Iterable<SSTableReader> removed, Iterable<SSTableReader> added) {
for (INotificationConsumer subscriber : subscribers) {
INotification notification = new SSTableListChangedNotification(added, removed);
subscriber.handleNotification(notification, this);
}
}
Aggregations