Merge of new rebased code
[appc.git] / appc-metric / appc-metric-bundle / src / main / java / org / openecomp / appc / metricservice / impl / MetricServiceImpl.java
index 6e5ca9d..128110e 100644 (file)
@@ -21,6 +21,7 @@
 
 package org.openecomp.appc.metricservice.impl;
 
+import java.util.Collections;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
@@ -42,6 +43,12 @@ public class MetricServiceImpl implements MetricService {
         return concurrentRegistryMap.get(name);
     }
 
+    @Override
+    public Map<String,MetricRegistry> getAllRegistry(){
+        return Collections.unmodifiableMap(concurrentRegistryMap);
+
+    }
+
     @Override
     public void dispose() {
 //TODO