Interface ICache<K,V>

All Known Subinterfaces:
ITranslationCacheManager.ITranslationCache
All Known Implementing Classes:
CacheStub, SharedTranslationCache, TranslationCache

public interface ICache<K,V>
This interface provides caching of entities.

It's Map relative interface with only minimally necessary set of methods. Also this interface uses keys as generic type and not as Object.

See Also:
  • Method Details

    • put

      void put(K key, V value)
    • putAll

      void putAll(Map<? extends K,? extends V> map)
    • get

      V get(K key)
    • getAll

      Map<K,V> getAll()
    • remove

      void remove(K key)
    • removeAll

      void removeAll(Iterator<?> keys)
    • removeAll

      void removeAll()
    • size

      long size()