Reuse StringEncoders for all connections 46/86146/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 14:27:29 +0000 (15:27 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 17:41:38 +0000 (18:41 +0100)
commit4d1213bc04138e630c720656c18a45397e038b70
tree942b674302f9e58db6a87c0a6ad7b4b90681227a
parent6063cba8904ffbe05f4f963d640f79392878a2f7
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