BUG-1281: eliminate thread-unsafe lookup
authorRobert Varga <rovarga@cisco.com>
Sun, 3 Aug 2014 13:39:11 +0000 (15:39 +0200)
committerEd Warnicke <eaw@cisco.com>
Wed, 6 Aug 2014 01:37:28 +0000 (01:37 +0000)
commit77f3fd8f8475aa84331a506720a8527723ebe9ee
treed118da6cc70acb4822691a8c45ebff23cc8bee9d
parentd7b9ad3f5c3941708a6700d758ec4f35704b3d21
BUG-1281: eliminate thread-unsafe lookup

The URI/name lookup map was not safe when context was reloaded. Get rid
of it for now, as SchemaContext can maintain reasonably-fast lookups. At
the same time make sure we share codepaths as much as possible.

Change-Id: If78d8143e94446fe9b38da894611b1c8b61f57f3
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/ControllerContext.java