Interface CacheInvalidator<K,V>

Type Parameters:
K - the type for the keys
V - the type for the values
All Known Implementing Classes:
ConditionalCacheInvalidator, DefaultCacheInvalidator, PatternCacheInvalidator, SuffixCacheInvalidator

public interface CacheInvalidator<K,V>
Defines the operations for cache invalidation
Since:
4.0
Author:
joseross
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invalidate(com.google.common.cache.Cache<K,V> cache, K key)
    Performs the cache invalidation based on the given key
  • Method Details

    • invalidate

      void invalidate(com.google.common.cache.Cache<K,V> cache, K key)
      Performs the cache invalidation based on the given key
      Parameters:
      cache - the cache instance
      key - the key to invalidate