2 * Copyright (c) 2015 Cisco Systems, Inc. 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
9 package org.opendaylight.groupbasedpolicy.api;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.statistics.rev151215.statistic.records.StatRecords;
13 public interface StatisticsManager {
16 * Write Record into the datastore
17 * @param record record to write to datastore
18 * @return wheater the write operation was successfull or not
20 boolean writeStat(StatRecords record);
23 * Returns all records stored in datastore
24 * @return all records from datastore
26 StatRecords readStats();