X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fapi%2FClusteredDataChangeListener.java;fp=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fapi%2FClusteredDataChangeListener.java;h=511910de62c417e90df9c5ea0b59a5493f427e74;hb=66a6b6f931af3fcd1ce61263c457304cfbdc2bb5;hp=0000000000000000000000000000000000000000;hpb=5a42510a466d4a251c05aab2afe74563978f40bb;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/ClusteredDataChangeListener.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/ClusteredDataChangeListener.java new file mode 100644 index 0000000000..511910de62 --- /dev/null +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/ClusteredDataChangeListener.java @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + + +package org.opendaylight.controller.md.sal.binding.api; + +/** + *

+ * ClusteredDataChangeListener is a marker interface to enable data change notifications on all instances in a cluster, + * where this listener is registered. + *

+ * + *

Applications should implement ClusteredDataChangeListener instead of DataChangeListener, if they want to listen + * to data change notifications on any node of clustered datastore. DataChangeListener enables data change notifications + * only at leader of the datastore shard.

+ * + */ + +public interface ClusteredDataChangeListener extends DataChangeListener{ +}