Class TunnelStateCache

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    @Singleton
    public class TunnelStateCache
    extends InstanceIdDataObjectCache<StateTunnelList>
    Caches StateTunnelList objects.
    Author:
    Thomas Pantelis
    • Constructor Detail

      • TunnelStateCache

        @Inject
        public TunnelStateCache​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
    • Method Detail

      • isInternalBasedOnState

        public boolean isInternalBasedOnState​(java.lang.String tunnelName)
                                       throws org.opendaylight.mdsal.common.api.ReadFailedException
        Throws:
        org.opendaylight.mdsal.common.api.ReadFailedException
      • getNodeConnectorIdFromInterface

        public long getNodeConnectorIdFromInterface​(java.lang.String interfaceName)
                                             throws org.opendaylight.mdsal.common.api.ReadFailedException
        Throws:
        org.opendaylight.mdsal.common.api.ReadFailedException
      • getStateTunnelListIdentifier

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<StateTunnelList> getStateTunnelListIdentifier​(java.lang.String key)