Cache mismatched augmentations 24/77724/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 13 Nov 2018 14:13:41 +0000 (15:13 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 13 Nov 2018 14:16:21 +0000 (15:16 +0100)
commitc44477a41ca49f9fddf92b56a129f915741de5c7
treed0388dc8bacd30756fc6de86c77b833cec859d74
parent70121d31e7fc160934bd92873e1fb2220d7be7ea
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>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/DataObjectCodecContext.java