Class BGPStateCollector
java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.state.BGPStateCollector
- All Implemented Interfaces:
BGPStateProvider
,BGPStateProviderRegistry
@Singleton
@MetaInfServices
public final class BGPStateCollector
extends Object
implements BGPStateProviderRegistry, BGPStateProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList of Registered BGP Peer States.List of Registered BGP Rib States.org.opendaylight.yangtools.concepts.Registration
register
(BGPPeerStateProvider peerStateProvider) Register peer state provider.org.opendaylight.yangtools.concepts.Registration
register
(BGPRibStateProvider ribStateProvider) Register rib state provider.
-
Constructor Details
-
BGPStateCollector
@Inject public BGPStateCollector()
-
-
Method Details
-
register
public org.opendaylight.yangtools.concepts.Registration register(BGPRibStateProvider ribStateProvider) Description copied from interface:BGPStateProviderRegistry
Register rib state provider.- Specified by:
register
in interfaceBGPStateProviderRegistry
- Parameters:
ribStateProvider
- rib state provider
-
register
public org.opendaylight.yangtools.concepts.Registration register(BGPPeerStateProvider peerStateProvider) Description copied from interface:BGPStateProviderRegistry
Register peer state provider.- Specified by:
register
in interfaceBGPStateProviderRegistry
- Parameters:
peerStateProvider
- peer state provider
-
getRibStats
Description copied from interface:BGPStateProvider
List of Registered BGP Rib States.- Specified by:
getRibStats
in interfaceBGPStateProvider
- Returns:
- ribs stats
-
getPeerStats
Description copied from interface:BGPStateProvider
List of Registered BGP Peer States.- Specified by:
getPeerStats
in interfaceBGPStateProvider
- Returns:
- peers stats
-