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.
22 * @param tablesKey table
25 long getPrefixedReceivedCount(@Nonnull TablesKey tablesKey);
28 * list of supported tables per Peer.
32 Set<TablesKey> getTableKeys();
35 * table supported per Peer.
37 * @param tablesKey table type
38 * @return true if supported
40 boolean isSupported(@Nonnull TablesKey tablesKey);