public static final class PrefixedShardConfigUpdateHandler.ShardConfigHandler extends Object implements ClusteredDOMDataTreeChangeListener
Constructor and Description |
---|
ShardConfigHandler(MemberName memberName,
org.opendaylight.mdsal.common.api.LogicalDatastoreType type,
akka.actor.ActorRef handlingActor) |
Modifier and Type | Method and Description |
---|---|
void |
onDataTreeChanged(Collection<org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate> changes)
Invoked when there was data change for the supplied path, which was used
to register this listener.
|
String |
toString() |
public ShardConfigHandler(MemberName memberName, org.opendaylight.mdsal.common.api.LogicalDatastoreType type, akka.actor.ActorRef handlingActor)
public void onDataTreeChanged(@Nonnull Collection<org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate> changes)
DOMDataTreeChangeListener
This method may be also invoked during registration of the listener if there is any pre-existing data in the conceptual data tree for supplied path. This initial event will contain all pre-existing data as created.
A data change event may be triggered spuriously, e.g. such that data before
and after compare as equal. Implementations of this interface are expected
to recover from such events. Event producers are expected to exert reasonable
effort to suppress such events.
In other words, it is completely acceptable to observe
a DataTreeCandidateNode
,
which reports a ModificationType
other than UNMODIFIED, while the before- and after- data items compare as
equal.
onDataTreeChanged
in interface DOMDataTreeChangeListener
changes
- Collection of change events, may not be null or empty.Copyright © 2019 OpenDaylight. All rights reserved.