Class DistributedShardChangePublisher
- java.lang.Object
-
- org.opendaylight.mdsal.dom.spi.AbstractRegistrationTree<AbstractDOMDataTreeChangeListenerRegistration<?>>
-
- org.opendaylight.controller.cluster.sharding.DistributedShardChangePublisher
-
- All Implemented Interfaces:
DOMStoreTreeChangePublisher
public class DistributedShardChangePublisher extends AbstractRegistrationTree<AbstractDOMDataTreeChangeListenerRegistration<?>> implements DOMStoreTreeChangePublisher
-
-
Constructor Summary
Constructors Constructor Description DistributedShardChangePublisher(DataStoreClient client, AbstractDataStore distributedDataStore, DOMDataTreeIdentifier prefix, Map<DOMDataTreeIdentifier,ChildShardContext> childShards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <L extends DOMDataTreeChangeListener>
AbstractDOMDataTreeChangeListenerRegistration<L>registerTreeChangeListener(YangInstanceIdentifier path, L listener)
protected void
registrationRemoved(AbstractDOMDataTreeChangeListenerRegistration<?> registration)
-
Methods inherited from class org.opendaylight.mdsal.dom.spi.AbstractRegistrationTree
addRegistration, findNodeFor, releaseLock, removeRegistration, takeLock, takeSnapshot
-
-
-
-
Constructor Detail
-
DistributedShardChangePublisher
public DistributedShardChangePublisher(DataStoreClient client, AbstractDataStore distributedDataStore, DOMDataTreeIdentifier prefix, Map<DOMDataTreeIdentifier,ChildShardContext> childShards)
-
-
Method Detail
-
registrationRemoved
protected void registrationRemoved(AbstractDOMDataTreeChangeListenerRegistration<?> registration)
-
registerTreeChangeListener
public <L extends DOMDataTreeChangeListener> AbstractDOMDataTreeChangeListenerRegistration<L> registerTreeChangeListener(YangInstanceIdentifier path, L listener)
- Specified by:
registerTreeChangeListener
in interfaceDOMStoreTreeChangePublisher
-
-