2 * Copyright (c) 2015 Brocade Communications 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.binding.api;
10 import org.opendaylight.yangtools.yang.binding.DataObject;
13 * ClusteredDataTreeChangeListener is a marker interface to enable data tree change notifications on all
14 * instances in a cluster where this listener is registered.
17 * Applications should implement ClusteredDataTreeChangeListener instead of {@link DataTreeChangeListener},
18 * if they want to listen for data tree change notifications on any node of a clustered data store.
19 * {@link DataTreeChangeListener} enables notifications only at the leader of the data store.
21 * @author Thomas Pantelis
23 * @param <T> the DataObject type
25 * @deprecated Use {@link org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener} instead.
27 @Deprecated(forRemoval = true)
28 public interface ClusteredDataTreeChangeListener<T extends DataObject> extends DataTreeChangeListener<T> {