- this.actorContext = Preconditions.checkNotNull(actorContext);
- this.dataChangeListenerActor = actorContext.getActorSystem().actorOf(
- DataTreeChangeListenerActor.props(getInstance()).withDispatcher(actorContext.getNotificationDispatcherPath()));
+ this.actorUtils = requireNonNull(actorUtils);
+ this.registeredPath = requireNonNull(registeredPath);
+ this.dataChangeListenerActor = actorUtils.getActorSystem().actorOf(
+ DataTreeChangeListenerActor.props(getInstance(), registeredPath)
+ .withDispatcher(actorUtils.getNotificationDispatcherPath()));
+
+ LOG.debug("{}: Created actor {} for DTCL {}", actorUtils.getDatastoreContext().getLogicalStoreType(),
+ dataChangeListenerActor, listener);