Cache mismatched augmentations 26/77726/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:17:36 +0000 (15:17 +0100)
commit50d8a3a7566d720ed20e7d2c0d841540d0cb5456
treef90ef798a425890e608a8abdd0b4ac8ea095b9ec
parent56674bdd6082dd749a85986ad620f8a275f21ca5
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