Cache constructor in NxMatchInfoHelper 58/92758/6
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Sep 2020 06:41:37 +0000 (08:41 +0200)
committerChetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Tue, 27 Oct 2020 01:45:17 +0000 (01:45 +0000)
commit027dcfc0a5abe67c7ae5f2aec461fca7d04a572c
treed6c2d12da939e45fe13a98cd469750eb7c335db7
parent2e72ba727ee7ef7140e1bd4cfdf9e60e71ca7d7a
Cache constructor in NxMatchInfoHelper

Constructor is an invariant, make sure we cache it for reuse,
speeding up instantiation and catching mismatched classes
earlier.

Change-Id: Idc464ff9b572e859fd5c64c594a215cef48cb14f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/mdsalutil/nxmatches/NxMatchInfoHelper.java