Interface RenderingCacheKeyProvider<T extends ItemModel>

    • Method Detail

      • getKey

        java.util.Optional<CacheKey> getKey​(T item)
        Returns the cache key.
        Parameters:
        item - the item to cache.
        Returns:
        the optional key for the item. It returns Optional.empty() if the cache key provider is not available for the item type.