Reuse ObjectMapper across all connections 45/86045/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Nov 2019 12:59:02 +0000 (13:59 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Nov 2019 13:33:32 +0000 (14:33 +0100)
commit4d598cffc88333c551be88e45cef27f932b800bf
tree64b7d9a463ba774139369df78889e847e8b6cd51
parent4402e56b96f9d64e23efec322c42e6d2d7d5f3bb
Reuse ObjectMapper across all connections

ObjectMapper is documented to be safe for sharing, make sure we
reuse a single instance across all connections.

Change-Id: Ia3ebbe1eb4772efaa1f68c0b0d4ee721431325b0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java