2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.md.sal.common.api.data;
10 import java.util.EventListener;
12 import org.opendaylight.yangtools.concepts.Path;
14 public interface AsyncDataChangeListener<P extends Path<P>, D> extends EventListener {
16 * Note that this method may be invoked from a shared thread pool, so
17 * implementations SHOULD NOT perform CPU-intensive operations and they
18 * definitely MUST NOT invoke any potentially blocking operations.
20 * @param change Data Change Event being delivered.
22 void onDataChanged(AsyncDataChangeEvent<P, D> change);