Reuse StringEncoders for all connections 82/86182/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:32 +0000 (10:50 +0000)
commit335bc7a16ad64f252990c7991dbdb7250badee74
tree6d7cfeae128b9ea2633fe9d0408cfa1da3875591
parent171549eec632707693bc07287d9b655508f4e629
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