public final class BGPSessionStatsImpl extends Object implements BGPSessionStats
Constructor and Description |
---|
BGPSessionStatsImpl(BGPSessionImpl session,
Open remoteOpen,
int holdTimerValue,
int keepAlive,
io.netty.channel.Channel channel,
com.google.common.base.Optional<BGPSessionPreferences> localPreferences,
Collection<BgpTableType> tableTypes,
List<AddressFamilies> addPathTypes) |
Modifier and Type | Method and Description |
---|---|
BgpSessionState |
getBgpSessionState()
Retrieves actual BGP session state.
|
void |
resetBgpSessionStats()
Resets BGP session statistics.
|
void |
startSessionStopwatch() |
void |
updateReceivedMsg(org.opendaylight.yangtools.yang.binding.Notification msg) |
void |
updateSentMsg(org.opendaylight.yangtools.yang.binding.Notification msg) |
void |
updateSentMsgKA() |
public BGPSessionStatsImpl(@Nonnull BGPSessionImpl session, @Nonnull Open remoteOpen, int holdTimerValue, int keepAlive, @Nonnull io.netty.channel.Channel channel, @Nonnull com.google.common.base.Optional<BGPSessionPreferences> localPreferences, @Nonnull Collection<BgpTableType> tableTypes, @Nonnull List<AddressFamilies> addPathTypes)
public void startSessionStopwatch()
public void updateSentMsgKA()
public BgpSessionState getBgpSessionState()
BGPSessionStats
getBgpSessionState
in interface BGPSessionStats
public void resetBgpSessionStats()
BGPSessionStats
resetBgpSessionStats
in interface BGPSessionStats
public void updateReceivedMsg(org.opendaylight.yangtools.yang.binding.Notification msg)
public void updateSentMsg(org.opendaylight.yangtools.yang.binding.Notification msg)
Copyright © 2018 OpenDaylight. All rights reserved.