Class PruningDataTreeModification.Proactive
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification
-
- org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification.Proactive
-
- All Implemented Interfaces:
org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification,org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot,org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
- Enclosing class:
- PruningDataTreeModification
public static final class PruningDataTreeModification.Proactive extends PruningDataTreeModification
A PruningDataTreeModification which always performs pruning before attempting an operation. This sacrifices performance to ensure all data has passed through the pruner -- such that data adaptations are performed.
-
-
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 Proactive(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification delegate, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTree dataTree, org.opendaylight.controller.cluster.datastore.node.utils.transformer.ReusableNormalizedNodePruner pruner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmerge(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode data)voidwrite(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode data)-
Methods inherited from class org.opendaylight.controller.cluster.datastore.utils.PruningDataTreeModification
applyToCursor, delegate, delete, getEffectiveModelContext, newModification, readNode, ready
-
-
-
-
Constructor Detail
-
Proactive
public Proactive(org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification delegate, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTree dataTree, org.opendaylight.controller.cluster.datastore.node.utils.transformer.ReusableNormalizedNodePruner pruner)
-
-
Method Detail
-
merge
public void merge(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode data)
-
write
public void write(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode data)
-
-