Interface CacheClosedListener

    • Method Detail

      • onCacheClosed

        CompletableFuture<Void> onCacheClosed​(Cache<?,​?> cache)
        Called when cache is closed.
        Parameters:
        cache - The cache that is closed. The cache object can be used to retrieve the name and the associated manager. No operations are allowed. The instance is always the originally created cache and not the wrapped cache in case CacheWrapper is effective.
        Returns:
        null or a CompletableFuture, if this method uses async processing