Class ConfigCache

    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigCache()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addObject​(java.lang.Object name, BaseConfiguration data)
      Adds new configuration to the cache.
      java.util.Vector<java.lang.String> getDirtyList()  
      BaseConfiguration getObject​(java.lang.Object name)  
      void removeObject​(java.lang.Object name)
      Removes specified configuration from the cache.
      • Methods inherited from class java.util.Hashtable

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConfigCache

        public ConfigCache()
    • Method Detail

      • addObject

        public void addObject​(java.lang.Object name,
                              BaseConfiguration data)
        Adds new configuration to the cache.
        Parameters:
        name - name of the new configuration
        data - configuration represented by that name
      • getObject

        public BaseConfiguration getObject​(java.lang.Object name)
        Parameters:
        name - name of object
        Returns:
        configuration of the specified object
      • getDirtyList

        public java.util.Vector<java.lang.String> getDirtyList()
        Returns:
        vector of all objects in the cache
      • removeObject

        public void removeObject​(java.lang.Object name)
        Removes specified configuration from the cache.
        Parameters:
        name - name of configuration