Class ProductConfigurationEHCacheAccessImpl<K extends CacheKey,​V>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearCache()
      Removes all elements from cache.
      V get​(K key)
      Gets a value from the cache for the given key.
      protected EHCacheRegion getCache()  
      java.util.Set<K> getKeys()
      Provide the keys of all values, which are currently in the cache region.
      V getWithLoader​(K key, CacheValueLoader<V> loader)
      Gets a value from the cache using the loader to get the value.
      V getWithSupplier​(K key, java.util.function.Supplier<V> supplier)
      Gets a value from the cache for the given key.
      void put​(K key, V value)
      Puts a value into the cache region.
      void putIfAbsent​(K key, V value)
      Puts a value into the cache region, only if no value with same key already exists.
      void remove​(K key)
      Removes a value from the cache.
      void setCache​(EHCacheRegion cache)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait