Interface NonEvictableCache<K,V>

All Superinterfaces:
com.google.common.cache.Cache<K,V>

public interface NonEvictableCache<K,V> extends com.google.common.cache.Cache<K,V>
A Cache that does not support eviction.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Not supported.
    void
    Deprecated.
    Not supported.
    void
    Deprecated.
    Not supported.

    Methods inherited from interface com.google.common.cache.Cache

    asMap, cleanUp, get, getAllPresent, getIfPresent, put, putAll, size, stats
  • Method Details

    • invalidate

      @Deprecated void invalidate(Object key)
      Deprecated.
      Not supported. Use EvictableCache cache implementation instead.
      Specified by:
      invalidate in interface com.google.common.cache.Cache<K,V>
    • invalidateAll

      @Deprecated void invalidateAll(Iterable<?> keys)
      Deprecated.
      Not supported. Use EvictableCache cache implementation instead.
      Specified by:
      invalidateAll in interface com.google.common.cache.Cache<K,V>
    • invalidateAll

      @Deprecated void invalidateAll()
      Deprecated.
      Not supported. Use EvictableCache cache implementation instead.
      Specified by:
      invalidateAll in interface com.google.common.cache.Cache<K,V>