Class AbstractCacheIgnoreAware

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ignoreCache​(java.lang.String cacheName)
      Ignores a given cache if it wasn't before
      boolean isCacheIgnored​(java.lang.String cacheName)
      Queries whether the cache is ignored
      void setIgnoredCaches​(java.util.Set<java.lang.String> cacheNames)
      Replaces all ignored caches with the set provided
      void unignore​(java.lang.String cacheName)
      No longer ignore the given cache if it was before
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractCacheIgnoreAware

        public AbstractCacheIgnoreAware()
    • Method Detail

      • setIgnoredCaches

        public void setIgnoredCaches​(java.util.Set<java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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