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.controller.md.sal.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.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)
-
-