Class ElanL2GwCacheUtils
- java.lang.Object
-
- org.opendaylight.netvirt.elanmanager.utils.ElanL2GwCacheUtils
-
public final class ElanL2GwCacheUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addL2GatewayDeviceToCache(java.lang.String elanName, L2GatewayDevice l2GwDevice)
static @NonNull java.util.List<L2GatewayDevice>
getAllElanDevicesFromCache()
static java.util.Set<java.util.Map.Entry<java.lang.String,java.util.concurrent.ConcurrentMap<java.lang.String,L2GatewayDevice>>>
getCaches()
static java.util.concurrent.ConcurrentMap<java.lang.String,L2GatewayDevice>
getInvolvedL2GwDevices(java.lang.String elanName)
static @Nullable L2GatewayDevice
getL2GatewayDeviceFromCache(java.lang.String elanName, java.lang.String l2gwDeviceNodeId)
static void
removeL2GatewayDeviceFromAllElanCache(java.lang.String deviceName)
static @Nullable L2GatewayDevice
removeL2GatewayDeviceFromCache(java.lang.String elanName, java.lang.String l2gwDeviceNodeId)
-
-
-
Method Detail
-
addL2GatewayDeviceToCache
public static void addL2GatewayDeviceToCache(java.lang.String elanName, L2GatewayDevice l2GwDevice)
-
removeL2GatewayDeviceFromAllElanCache
public static void removeL2GatewayDeviceFromAllElanCache(java.lang.String deviceName)
-
removeL2GatewayDeviceFromCache
public static @Nullable L2GatewayDevice removeL2GatewayDeviceFromCache(java.lang.String elanName, java.lang.String l2gwDeviceNodeId)
-
getL2GatewayDeviceFromCache
public static @Nullable L2GatewayDevice getL2GatewayDeviceFromCache(java.lang.String elanName, java.lang.String l2gwDeviceNodeId)
-
getInvolvedL2GwDevices
public static java.util.concurrent.ConcurrentMap<java.lang.String,L2GatewayDevice> getInvolvedL2GwDevices(java.lang.String elanName)
-
getCaches
public static java.util.Set<java.util.Map.Entry<java.lang.String,java.util.concurrent.ConcurrentMap<java.lang.String,L2GatewayDevice>>> getCaches()
-
getAllElanDevicesFromCache
public static @NonNull java.util.List<L2GatewayDevice> getAllElanDevicesFromCache()
-
-