Class PruningDataTreeModification.Reactive
java.lang.Object
com.google.common.collect.ForwardingObject
org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification
org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification.Reactive
- All Implemented Interfaces:
DataTreeModification
,DataTreeSnapshot
- Enclosing class:
- PruningDataTreeModification
A PruningDataTreeModification which performs pruning only when an operation results in an
SchemaValidationFailedException
. This offers superior performance in the normal case of not needing
pruning.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification
PruningDataTreeModification.Proactive, PruningDataTreeModification.Reactive
-
Constructor Summary
ConstructorsConstructorDescriptionReactive
(DataTreeModification delegate, DataTree dataTree, ReusableNormalizedNodePruner pruner) -
Method Summary
Modifier and TypeMethodDescriptionvoid
merge
(YangInstanceIdentifier path, NormalizedNode data) void
write
(YangInstanceIdentifier path, NormalizedNode data) Methods inherited from class org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification
applyToCursor, delegate, delete, modelContext, newModification, readNode, ready
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
Constructor Details
-
Reactive
public Reactive(DataTreeModification delegate, DataTree dataTree, ReusableNormalizedNodePruner pruner)
-
-
Method Details
-
merge
-
write
-