Cache mismatched augmentations 25/77725/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 13 Nov 2018 14:13:41 +0000 (15:13 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 21 Nov 2018 11:10:44 +0000 (11:10 +0000)
commiteec9ba1fffe3684c808285866f8f1682bea650ee
tree6a14a90fce3c31c4cc55c1f757d01ff83a7bc7fb
parent4b10930b4f3035ae005185d6f08fe95bbdea439f
Cache mismatched augmentations

Address a FIXME around caching of mismatched augmentations, as it
seems openflowplugin is doing this on purpose.

The cache is expected to be needed infrequently in terms of associated
objects as well as modified infrequently, hence we use a space-efficient
ImmutableMap.

JIRA: MDSAL-388
Change-Id: Id86d8c713ee1014d9d4867558032ba3ccd51fc45
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit c44477a41ca49f9fddf92b56a129f915741de5c7)
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/DataObjectCodecContext.java