Interface ClassCache


  • public interface ClassCache
    The interface ClassCache provides methods for a class cache. This inteface was previously in the PropertyResolver class.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​GetAndSet> get​(java.lang.Class<?> clz)
      Returns the class map from the cache.
      void put​(java.lang.Class<?> clz, java.util.Map<java.lang.String,​GetAndSet> values)
      Put the class into the cache, or if that class shouldn't be cached do nothing.
    • Method Detail

      • get

        java.util.Map<java.lang.String,​GetAndSet> get​(java.lang.Class<?> clz)
        Returns the class map from the cache.
        Parameters:
        clz - the class
        Returns:
        the map of the given class
      • put

        void put​(java.lang.Class<?> clz,
                 java.util.Map<java.lang.String,​GetAndSet> values)
        Put the class into the cache, or if that class shouldn't be cached do nothing.
        Parameters:
        clz - the class
        values - the values