Deprecate DCL in favor of DTCL
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / md / sal / binding / api / ClusteredDataChangeListener.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9
10 package org.opendaylight.controller.md.sal.binding.api;
11
12 /**
13  * <p>
14  * ClusteredDataChangeListener is a marker interface to enable data change notifications on all instances in a cluster,
15  * where this listener is registered.
16  * </p>
17  *
18  * <p>Applications should implement ClusteredDataChangeListener instead of DataChangeListener, if they want to listen
19  * to data change notifications on any node of clustered datastore. DataChangeListener enables data change notifications
20  * only at leader of the datastore shard.</p>
21  *
22  * @Deprecated Replaced by {@link ClusteredDataTreeChangeListener}
23  */
24 @Deprecated
25 public interface ClusteredDataChangeListener extends DataChangeListener{
26 }