2 * Copyright (c) 2016 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.cluster.datastore;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.controller.cluster.datastore.utils.ActorUtils;
12 import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;
13 import org.opendaylight.mdsal.dom.spi.store.DOMStore;
14 import org.opendaylight.yangtools.concepts.ListenerRegistration;
15 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
18 * The public interface exposed by an AbstractDataStore via the OSGi registry.
20 * @author Thomas Pantelis
22 public interface DistributedDataStoreInterface extends DOMStore {
24 ActorUtils getActorUtils();
27 <L extends DOMDataTreeChangeListener> ListenerRegistration<L> registerShardConfigListener(
28 YangInstanceIdentifier internalPath, DOMDataTreeChangeListener delegate);
31 <L extends DOMDataTreeChangeListener> ListenerRegistration<L> registerProxyListener(
32 YangInstanceIdentifier shardLookup, YangInstanceIdentifier insideShard,
33 DOMDataTreeChangeListener delegate);