2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.genius.interfacemanager.pmcounters;
10 import java.util.HashMap;
13 public class CounterForOFPortBytesReceive implements CounterForOFPortBytesReceiveMBean{
15 Map<String, Integer> counterCache = new HashMap<String, Integer>();
16 public static Map counterMap = new HashMap<String,String>();
17 public void invokePMManagedObjects(Map<String, Integer> map) {
18 setCounterDetails(map);
21 public Map<String, Integer> getCounterDetails() {
25 public synchronized void setCounterDetails(Map<String, Integer> map) {
29 public Map<String, String> retrieveCounterMap(){
30 counterMap = (HashMap) counterCache;