Fix checkstyle complains
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / state / peer / PrefixesInstalledCounters.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.protocol.bgp.rib.impl.state.peer;
10
11 import javax.annotation.Nonnull;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey;
13
14 /**
15  * Expose Prefixes Installed Count.
16  */
17 public interface PrefixesInstalledCounters {
18     /**
19      * Prefixes received and installed from Peer count (EffRibIn Count) pet Table.
20      *
21      * @param tablesKey table
22      * @return count
23      */
24     long getPrefixedInstalledCount(@Nonnull TablesKey tablesKey);
25
26     /**
27      * total Prefixes received and installed from Peer count (EffRibIn Count).
28      *
29      * @return count
30      */
31     long getTotalPrefixesInstalled();
32 }