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.controller.md.sal.binding.api.DataBroker dataBroker,
                                org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
    • Method Detail

      • isInternalBasedOnState

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

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

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