Class ElanL2GwCacheUtils


  • public final class ElanL2GwCacheUtils
    extends java.lang.Object
    • 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.Collection<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()