Class DPNTEPsInfoCache
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.cache.DataObjectCache<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<V>,V>
-
- org.opendaylight.genius.mdsalutil.cache.InstanceIdDataObjectCache<DPNTEPsInfo>
-
- org.opendaylight.genius.itm.cache.DPNTEPsInfoCache
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@Singleton public class DPNTEPsInfoCache extends InstanceIdDataObjectCache<DPNTEPsInfo>
Caches DPNTEPsInfo objects.- Author:
- Thomas Pantelis
-
-
Field Summary
-
Fields inherited from class org.opendaylight.genius.mdsalutil.cache.DataObjectCache
dataObjectListener, listenerRegistration
-
-
Constructor Summary
Constructors Constructor Description DPNTEPsInfoCache(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider, DirectTunnelUtils directTunnelUtils, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator, UnprocessedNodeConnectorEndPointCache unprocessedNodeConnectorEndPointCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DPNTEPsInfo> path, DPNTEPsInfo dpnTepsInfo)
java.util.Optional<DPNTEPsInfo>
getDPNTepFromDPNId(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
java.util.List<DPNTEPsInfo>
getDPNTepListFromDPNId(java.util.List<org.opendaylight.yangtools.yang.common.Uint64> dpnIds)
-
Methods inherited from class org.opendaylight.genius.mdsalutil.cache.DataObjectCache
checkIsClosed, close, get, getAllPresent, removed
-
-
-
-
Constructor Detail
-
DPNTEPsInfoCache
@Inject public DPNTEPsInfoCache(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider, DirectTunnelUtils directTunnelUtils, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator, UnprocessedNodeConnectorEndPointCache unprocessedNodeConnectorEndPointCache)
-
-
Method Detail
-
added
protected void added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DPNTEPsInfo> path, DPNTEPsInfo dpnTepsInfo)
- Overrides:
added
in classDataObjectCache<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DPNTEPsInfo>,DPNTEPsInfo>
-
getDPNTepListFromDPNId
public java.util.List<DPNTEPsInfo> getDPNTepListFromDPNId(java.util.List<org.opendaylight.yangtools.yang.common.Uint64> dpnIds)
-
getDPNTepFromDPNId
public java.util.Optional<DPNTEPsInfo> getDPNTepFromDPNId(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
-