Fixed bug ONOS-1676.
- Added comments and updated counters command display.
- Modified Json output for counters command.
- Fixed indentation and wrapped long code lines
Change-Id: I4ccc7f67071ea587ee0b12e2f59582f5e5ca760f
Change-Id: Id6cdeda344dd429e3a9f9ab7f027b45e7d6f293a
Change-Id: I6b90a868cedfa405f8deabb1cee6988ba6c1f96e
Change-Id: I93710bd69e266779220c5d1a240e6a06090da55c
diff --git a/core/api/src/main/java/org/onosproject/store/service/StorageAdminService.java b/core/api/src/main/java/org/onosproject/store/service/StorageAdminService.java
index 204e35b..2259104 100644
--- a/core/api/src/main/java/org/onosproject/store/service/StorageAdminService.java
+++ b/core/api/src/main/java/org/onosproject/store/service/StorageAdminService.java
@@ -40,12 +40,28 @@
/**
* Returns information about all the atomic counters in the system.
+ * If 2 counters belonging to 2 different databases have the same name,
+ * then only one counter from one database is returned.
*
* @return mapping from counter name to that counter's next value
*/
Map<String, Long> getCounters();
/**
+ * Returns information about all the atomic partitioned database counters in the system.
+ *
+ * @return mapping from counter name to that counter's next value
+ */
+ Map<String, Long> getPartitionedDatabaseCounters();
+
+ /**
+ * Returns information about all the atomic in-memory database counters in the system.
+ *
+ * @return mapping from counter name to that counter's next value
+ */
+ Map<String, Long> getInMemoryDatabaseCounters();
+
+ /**
* Returns all the transactions in the system.
*
* @return collection of transactions