Class AbstractCacheIgnoreAware

    • Constructor Detail

      • AbstractCacheIgnoreAware

        public AbstractCacheIgnoreAware()
    • Method Detail

      • setIgnoredCaches

        public void setIgnoredCaches​(Set<String> cacheNames)
        Description copied from interface: CacheIgnoreAware
        Replaces all ignored caches with the set provided
        Specified by:
        setIgnoredCaches in interface CacheIgnoreAware
        Parameters:
        cacheNames - the set of caches to now ignore
      • unignore

        public void unignore​(String cacheName)
        Description copied from interface: CacheIgnoreAware
        No longer ignore the given cache if it was before
        Specified by:
        unignore in interface CacheIgnoreAware
        Parameters:
        cacheName - the cache to now not ignore
      • ignoreCache

        public void ignoreCache​(String cacheName)
        Description copied from interface: CacheIgnoreAware
        Ignores a given cache if it wasn't before
        Specified by:
        ignoreCache in interface CacheIgnoreAware
        Parameters:
        cacheName - the cache to ignore
      • isCacheIgnored

        public boolean isCacheIgnored​(String cacheName)
        Description copied from interface: CacheIgnoreAware
        Queries whether the cache is ignored
        Specified by:
        isCacheIgnored in interface CacheIgnoreAware
        Parameters:
        cacheName - the cache to see if it is ignored
        Returns:
        whether or not the cache is ignored