Interface InterVpnLinkCache
-
- All Known Implementing Classes:
InterVpnLinkCacheImpl
public interface InterVpnLinkCache
Manages some utility caches in order to speed (avoid) reads from MD-SAL. InterVpnLink is something that rarely changes and is frequently queried.- Author:
- Thomas Pantelis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInterVpnLinkStateToCaches(InterVpnLinkState interVpnLinkState)
void
addInterVpnLinkToCaches(InterVpnLink interVpnLink)
@NonNull java.util.List<InterVpnLinkDataComposite>
getAllInterVpnLinks()
java.util.Optional<InterVpnLinkDataComposite>
getInterVpnLinkByEndpoint(java.lang.String endpointIp)
java.util.Optional<InterVpnLinkDataComposite>
getInterVpnLinkByName(java.lang.String interVpnLinkName)
java.util.Optional<InterVpnLinkDataComposite>
getInterVpnLinkByVpnId(java.lang.String vpnId)
void
removeInterVpnLinkFromCache(InterVpnLink interVpnLink)
void
removeInterVpnLinkStateFromCache(InterVpnLinkState interVpnLinkState)
-
-
-
Method Detail
-
addInterVpnLinkToCaches
void addInterVpnLinkToCaches(InterVpnLink interVpnLink)
-
addInterVpnLinkStateToCaches
void addInterVpnLinkStateToCaches(InterVpnLinkState interVpnLinkState)
-
removeInterVpnLinkFromCache
void removeInterVpnLinkFromCache(InterVpnLink interVpnLink)
-
removeInterVpnLinkStateFromCache
void removeInterVpnLinkStateFromCache(InterVpnLinkState interVpnLinkState)
-
getInterVpnLinkByName
java.util.Optional<InterVpnLinkDataComposite> getInterVpnLinkByName(java.lang.String interVpnLinkName)
-
getInterVpnLinkByEndpoint
java.util.Optional<InterVpnLinkDataComposite> getInterVpnLinkByEndpoint(java.lang.String endpointIp)
-
getInterVpnLinkByVpnId
java.util.Optional<InterVpnLinkDataComposite> getInterVpnLinkByVpnId(java.lang.String vpnId)
-
getAllInterVpnLinks
@NonNull java.util.List<InterVpnLinkDataComposite> getAllInterVpnLinks()
-
-