Interface CacheCreatedListener

    • Method Detail

      • onCacheCreated

        <K,​V> CompletableFuture<Void> onCacheCreated​(Cache<K,​V> cache,
                                                           CacheBuildContext<K,​V> ctx)
        A new cache has been created.
        Parameters:
        ctx - The build context of the cache. The listener may read but not modify its configuration parameters.
        Returns:
        null or a CompletableFuture, if this method uses async processing