Interface RenderingCacheKeyProvider<T extends ItemModel>
- Type Parameters:
T- the subtype of theItemModel
- All Known Implementing Classes:
DefaultRenderingCacheKeyProvider
public interface RenderingCacheKeyProvider<T extends ItemModel>
Provides a cache key for
ItemModel-
Method Summary
-
Method Details
-
getKey
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.
-