void onDataTreeChanged(@Nonnull Collection<DataTreeCandidate> changes, @Nonnull Map<DOMDataTreeIdentifier, NormalizedNode<?, ?>> subtrees);
/**
- * Invoked when a subtree listening failure occurs. This can be triggered, for example, when
- * a connection to external subtree source is broken. The listener will not receive any other
+ * Invoked when a subtree listening failure occurs. This can be triggered, for example, when a
+ * connection to external subtree source is broken. The listener will not receive any other
* callbacks, but its registration still needs to be closed to prevent resource leak.
*
- * @param cause Collection of failure causes, may not be null or empty.
+ * @param causes Collection of failure causes, may not be null or empty.
*/
void onDataTreeFailed(@Nonnull Collection<DOMDataTreeListeningException> causes);
}