package org.opendaylight.controller.md.sal.common.api.data;
import java.util.EventListener;
-
import org.opendaylight.yangtools.concepts.Path;
/**
*
* <p>
* User-supplied implementations of this listener interface MUST register via
- * {@link AsyncDataBroker#registerDataChangeListener(LogicalDatastoreType, Path, AsyncDataChangeListener, AsyncDataBroker.DataChangeScope)}
+ * {@link AsyncDataBroker#registerDataChangeListener(LogicalDatastoreType, Path, AsyncDataChangeListener,
+ * AsyncDataBroker.DataChangeScope)}
* in order to start receiving data change events, which capture state changes
* in a subtree.
*
@Deprecated
public interface AsyncDataChangeListener<P extends Path<P>, D> extends EventListener {
/**
- *
* Invoked when there is data change for the particular path, which was used to
* register this listener.
+ *
* <p>
* This method may be also invoked during registration of the listener if
* there is any preexisting data in the conceptual data tree for supplied path.
*
* <p>
* <b>Note</b>: This method may be invoked from a shared thread pool.
+ * <ul>
* <li>Implementations <b>SHOULD NOT</b> perform CPU-intensive operations on the calling thread.
* <li>Implementations <b>MUST NOT block the calling thread</b> - to do so could lead to deadlock
+ * </ul>
* scenarios.
*
*<br>