Reuse StringEncoders for all connections 81/86181/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 14:27:29 +0000 (15:27 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 4 Dec 2019 10:50:19 +0000 (10:50 +0000)
commitf9ba04906899f27a83b39f8fc49b12dd036bd0a8
treeb114b311b26f96d07b2e491d0899c53a5e6a5519
parent4424150e65a7c2cbe61bc0e6affad9cfc6f70cbc
Reuse StringEncoders for all connections

StringEncoder is stateless and therefore can be shared across multiple
channel pipelines. Create a single instance for use by all connections.

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