Fix for bug 278 Replace implementation of dbCache in InventoryService with a Concurre...
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / plugin / OVSDBConfigService.java
index 281bed7b95f80480f4568cf2eb0a82996bc03b2a..5deeaeaaf9a4023fd9fba0ae95a7b31c19affd50 100644 (file)
@@ -10,7 +10,7 @@
 package org.opendaylight.ovsdb.plugin;
 
 import java.util.List;
-import java.util.Map;
+import java.util.concurrent.ConcurrentMap;
 
 import org.opendaylight.controller.sal.core.Node;
 import org.opendaylight.controller.sal.utils.Status;
@@ -23,6 +23,6 @@ public interface OVSDBConfigService {
     public String getSerializedRow(Node node, String tableName, String uuid) throws Exception;
     public String getSerializedRows(Node node, String tableName) throws Exception;
     public Table<?> getRow(Node node, String tableName, String uuid) throws Exception;
-    public Map<String, Table<?>> getRows(Node node, String tableName) throws Exception;
+    public ConcurrentMap<String, Table<?>> getRows(Node node, String tableName) throws Exception;
     public List<String> getTables(Node node) throws Exception;
 }