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
,EffectiveModelContextProvider
- Enclosing class:
- PruningDataTreeModification
public static final class PruningDataTreeModification.Reactive extends PruningDataTreeModification
A PruningDataTreeModification which performs pruning only when an operation results in anSchemaValidationFailedException
. 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
Constructors Constructor Description Reactive(DataTreeModification delegate, DataTree dataTree, ReusableNormalizedNodePruner pruner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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, getEffectiveModelContext, newModification, readNode, ready
-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
-
-
-
Constructor Detail
-
Reactive
public Reactive(DataTreeModification delegate, DataTree dataTree, ReusableNormalizedNodePruner pruner)
-
-
Method Detail
-
merge
public void merge(YangInstanceIdentifier path, NormalizedNode data)
-
write
public void write(YangInstanceIdentifier path, NormalizedNode data)
-
-