Class SimpleCache<K,​V>

  • All Implemented Interfaces:
    com.google.common.cache.Cache<K,​V>

    public class SimpleCache<K,​V>
    extends com.google.common.cache.AbstractCache<K,​V>
    • Method Detail

      • getIfPresent

        public V getIfPresent​(Object key)
      • invalidate

        public void invalidate​(Object key)
        Specified by:
        invalidate in interface com.google.common.cache.Cache<K,​V>
        Overrides:
        invalidate in class com.google.common.cache.AbstractCache<K,​V>
      • put

        public void put​(K key,
                        V value)
        Specified by:
        put in interface com.google.common.cache.Cache<K,​V>
        Overrides:
        put in class com.google.common.cache.AbstractCache<K,​V>
      • newInstance

        public static <K,​V> SimpleCache<K,​V> newInstance()