Interface InvalidationFilter

  • All Known Implementing Classes:
    CacheUnitTTLInvalidationFilter

    public interface InvalidationFilter
    Can be used to disallow invalidation for specified key in specified region.
    It is enough to declare it in spring *.xml file. Declared filter will be injected automatically and used by regioncache CacheController.
    • Method Detail

      • allowInvalidation

        boolean allowInvalidation​(CacheKey key,
                                  CacheRegion region)
        do disallow invalidation should return false;