Add ReusableNormalizedNodePruner 57/81257/4
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Mar 2019 11:46:34 +0000 (12:46 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Mar 2019 15:02:52 +0000 (16:02 +0100)
commit7bef3c9e3f411d3e4abdb5ff43a618537cc9c936
tree869dc68f0083fb4b32cc7371f752e53f063aa896
parent35fe9a2bb63d451d820707f5142349539334a7ad
Add ReusableNormalizedNodePruner

This version of NormalizedNodePruner is reusable across invocations,
and improving CPU and memory efficiency in bulk operations due to
not needing to allocate stack nor lookup DataSchemaContextTree.

JIRA: CONTROLLER-1887
Change-Id: I1798f5f6255cd23702bf3792c1f4f5149f92d208
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/transformer/AbstractNormalizedNodePruner.java [new file with mode: 0644]
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/transformer/NormalizedNodePruner.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/transformer/ReusableNormalizedNodePruner.java [new file with mode: 0644]

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.