Class ElanInstanceDpnsCache
- java.lang.Object
-
- org.opendaylight.netvirt.elan.cache.ElanInstanceDpnsCache
-
@Singleton public class ElanInstanceDpnsCache extends java.lang.ObjectMaintains a cache of elan instance name to DpnInterfaces.- Author:
- Thomas Pantelis
-
-
Constructor Summary
Constructors Constructor Description ElanInstanceDpnsCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(@NonNull java.lang.String elanInstanceName, @NonNull DpnInterfaces dpnInterfaces)@NonNull java.util.Collection<DpnInterfaces>get(@NonNull java.lang.String elanInstanceName)@NonNull java.util.Map<java.lang.String,java.util.Set<DpnInterfaces>>getElanDpns()voidremove(@NonNull java.lang.String elanInstanceName, @NonNull DpnInterfaces dpnInterfaces)
-
-
-
Method Detail
-
add
public void add(@NonNull java.lang.String elanInstanceName, @NonNull DpnInterfaces dpnInterfaces)
-
remove
public void remove(@NonNull java.lang.String elanInstanceName, @NonNull DpnInterfaces dpnInterfaces)
-
get
public @NonNull java.util.Collection<DpnInterfaces> get(@NonNull java.lang.String elanInstanceName)
-
getElanDpns
public @NonNull java.util.Map<java.lang.String,java.util.Set<DpnInterfaces>> getElanDpns()
-
-