Class AbstractCacheIgnoreAware

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletionStage<java.util.Collection<java.lang.String>> getIgnoredCaches​(java.lang.String cacheManager)  
      java.util.concurrent.CompletionStage<java.lang.Void> ignoreCache​(java.lang.String cacheName)
      Ignores a given cache if it wasn't before
      void initialize​(EmbeddedCacheManager cacheManager)  
      boolean isCacheIgnored​(java.lang.String cacheName)
      Queries whether the cache is ignored
      java.util.concurrent.CompletionStage<java.lang.Boolean> 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

      • unignore

        public java.util.concurrent.CompletionStage<java.lang.Boolean> 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 java.util.concurrent.CompletionStage<java.lang.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
      • getIgnoredCaches

        public java.util.concurrent.CompletionStage<java.util.Collection<java.lang.String>> getIgnoredCaches​(java.lang.String cacheManager)
        Specified by:
        getIgnoredCaches in interface CacheIgnoreAware
        Returns:
        Set of all cache names currently ignored for the cache manager