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 Detail

      • addInterVpnLinkToCaches

        void addInterVpnLinkToCaches​(InterVpnLink interVpnLink)
      • addInterVpnLinkStateToCaches

        void addInterVpnLinkStateToCaches​(InterVpnLinkState interVpnLinkState)
      • removeInterVpnLinkFromCache

        void removeInterVpnLinkFromCache​(InterVpnLink interVpnLink)
      • removeInterVpnLinkStateFromCache

        void removeInterVpnLinkStateFromCache​(InterVpnLinkState interVpnLinkState)
      • getInterVpnLinkByName

        com.google.common.base.Optional<InterVpnLinkDataComposite> getInterVpnLinkByName​(java.lang.String interVpnLinkName)
      • getInterVpnLinkByEndpoint

        com.google.common.base.Optional<InterVpnLinkDataComposite> getInterVpnLinkByEndpoint​(java.lang.String endpointIp)
      • getInterVpnLinkByVpnId

        com.google.common.base.Optional<InterVpnLinkDataComposite> getInterVpnLinkByVpnId​(java.lang.String vpnId)