2 * Copyright (c) 2018 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.openflowplugin.impl.services.cache;
11 import java.util.concurrent.ConcurrentHashMap;
12 import javax.inject.Singleton;
13 import org.apache.aries.blueprint.annotation.service.Service;
14 import org.opendaylight.openflowplugin.api.openflow.FlowGroupCacheManager;
15 import org.opendaylight.openflowplugin.api.openflow.ReconciliationState;
18 @Service(classes = FlowGroupCacheManager.class)
19 public class FlowGroupCacheManagerImpl implements FlowGroupCacheManager {
21 private Map<String, ReconciliationState> reconciliationStates = new ConcurrentHashMap<>();
24 public Map<String, ReconciliationState> getReconciliationStates() {
25 return reconciliationStates;