Class ElanInstanceDpnsCache


  • @Singleton
    public class ElanInstanceDpnsCache
    extends java.lang.Object
    Maintains a cache of elan instance name to DpnInterfaces.
    Author:
    Thomas Pantelis
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(@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()  
      void remove​(@NonNull java.lang.String elanInstanceName, @NonNull DpnInterfaces dpnInterfaces)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ElanInstanceDpnsCache

        public ElanInstanceDpnsCache()
    • 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()