BUG-5032: BGP Operational State
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / stats / peer / BGPPeerStats.java
1 /*
2  * Copyright (c) 2016 Brocade Communications 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 package org.opendaylight.protocol.bgp.rib.impl.stats.peer;
9
10 import java.util.concurrent.atomic.LongAdder;
11 import org.opendaylight.controller.config.yang.bgp.rib.impl.BgpPeerState;
12 import org.opendaylight.protocol.bgp.rib.impl.stats.peer.route.PerTableTypeRouteCounter;
13
14 public interface BGPPeerStats {
15     BgpPeerState getBgpPeerState();
16
17     PerTableTypeRouteCounter getAdjRibInRouteCounters();
18
19     PerTableTypeRouteCounter getAdjRibOutRouteCounters();
20
21     LongAdder getSessionEstablishedCounter();
22 }