@Singleton public class ElanInterfaceCache extends org.opendaylight.genius.mdsalutil.cache.InstanceIdDataObjectCache<ElanInterface>
Constructor and Description |
---|
ElanInterfaceCache(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.infrautils.caches.CacheProvider cacheProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> path,
ElanInterface elanInterface) |
com.google.common.base.Optional<ElanInterface> |
get(String interfaceName) |
com.google.common.base.Optional<EtreeInterface> |
getEtreeInterface(String interfaceName) |
Collection<String> |
getInterfaceNames(String elanInstanceName) |
protected void |
removed(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> path,
ElanInterface elanInterface) |
@Inject public ElanInterfaceCache(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
@Nonnull public com.google.common.base.Optional<ElanInterface> get(@Nonnull String interfaceName)
@Nonnull public com.google.common.base.Optional<EtreeInterface> getEtreeInterface(@Nonnull String interfaceName)
@Nonnull public Collection<String> getInterfaceNames(@Nonnull String elanInstanceName)
protected void added(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> path, ElanInterface elanInterface)
added
in class org.opendaylight.genius.mdsalutil.cache.DataObjectCache<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface>,ElanInterface>
protected void removed(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface> path, ElanInterface elanInterface)
removed
in class org.opendaylight.genius.mdsalutil.cache.DataObjectCache<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ElanInterface>,ElanInterface>
Copyright © 2019 OpenDaylight. All rights reserved.