Interface CacheIgnoreAware

    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • unignore

        java.util.concurrent.CompletionStage<java.lang.Boolean> unignore​(java.lang.String cacheName)
        No longer ignore the given cache if it was before
        Parameters:
        cacheName - the cache to now not ignore
      • ignoreCache

        java.util.concurrent.CompletionStage<java.lang.Void> ignoreCache​(java.lang.String cacheName)
        Ignores a given cache if it wasn't before
        Parameters:
        cacheName - the cache to ignore
      • isCacheIgnored

        boolean isCacheIgnored​(java.lang.String cacheName)
        Queries whether the cache is ignored
        Parameters:
        cacheName - the cache to see if it is ignored
        Returns:
        whether or not the cache is ignored
      • getIgnoredCaches

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