Package com.spotify.dns
Interface ChangeNotifier.Listener<T>
-
- Enclosing interface:
- ChangeNotifier<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ChangeNotifier.Listener<T>
A listener which will be called when the set of records change
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChange(ChangeNotifier.ChangeNotification<T> changeNotification)Signal that set of records changed.
-
-
-
Method Detail
-
onChange
void onChange(ChangeNotifier.ChangeNotification<T> changeNotification)
Signal that set of records changed.- Parameters:
changeNotification- An object containing details about the change
-
-