2 * Copyright (c) 2016 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.protocol.bgp.rib.impl.state.peer;
12 import javax.annotation.Nonnull;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey;
16 * Expose Prefixes Received Count
18 public interface PrefixesReceivedCounters {
20 * Prefixes received from Peer count (AdjRinIn Count) pet Table
21 * @param tablesKey table
24 long getPrefixedReceivedCount(@Nonnull final TablesKey tablesKey);
27 * list of supported tables per Peer
30 Set<TablesKey> getTableKeys();
33 * table supported per Peer
34 * @param tablesKey table type
35 * @return true if supported
37 boolean isSupported(TablesKey tablesKey);