Class RTCClientRouteCache
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.impl.RTCClientRouteCache
-
- All Implemented Interfaces:
RTCCache
,ClientRouteTargetContrainCache
public final class RTCClientRouteCache extends Object implements ClientRouteTargetContrainCache, RTCCache
-
-
Constructor Summary
Constructors Constructor Description RTCClientRouteCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cacheRoute(Route route)
Cache Route.List<Route>
getClientRouteTargetContrainCache()
Cache of RTC routes advertized per clients peers.void
uncacheRoute(Route route)
Uncache Route.
-
-
-
Method Detail
-
cacheRoute
public void cacheRoute(Route route)
Description copied from interface:ClientRouteTargetContrainCache
Cache Route.- Specified by:
cacheRoute
in interfaceClientRouteTargetContrainCache
- Parameters:
route
- target constrain
-
uncacheRoute
public void uncacheRoute(Route route)
Description copied from interface:ClientRouteTargetContrainCache
Uncache Route.- Specified by:
uncacheRoute
in interfaceClientRouteTargetContrainCache
- Parameters:
route
- target constrain
-
getClientRouteTargetContrainCache
public List<Route> getClientRouteTargetContrainCache()
Description copied from interface:RTCCache
Cache of RTC routes advertized per clients peers.- Specified by:
getClientRouteTargetContrainCache
in interfaceRTCCache
- Returns:
- rtc cache
-
-