Class PruningDataTreeModification.Reactive

  • 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.SchemaContextProvider
    Enclosing class:
    PruningDataTreeModification

    public static final class PruningDataTreeModification.Reactive
    extends 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.
    • Constructor Detail

      • Reactive

        public Reactive​(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)