Class TunnelStateCache
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.cache.DataObjectCache<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<V>,V>
-
- org.opendaylight.genius.mdsalutil.cache.InstanceIdDataObjectCache<StateTunnelList>
-
- org.opendaylight.genius.itm.cache.TunnelStateCache
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@Singleton public class TunnelStateCache extends InstanceIdDataObjectCache<StateTunnelList>
Caches StateTunnelList objects.- Author:
- Thomas Pantelis
-
-
Constructor Summary
Constructors Constructor Description TunnelStateCache(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getNodeConnectorIdFromInterface(java.lang.String interfaceName)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<StateTunnelList>
getStateTunnelListIdentifier(java.lang.String key)
boolean
isInternalBasedOnState(java.lang.String tunnelName)
-
Methods inherited from class org.opendaylight.genius.mdsalutil.cache.DataObjectCache
added, checkIsClosed, close, get, getAllPresent, removed
-
-
-
-
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)
-
-