Package io.quarkus.qute
Interface CacheSectionHelper.Cache
-
- Enclosing class:
- CacheSectionHelper
public static interface CacheSectionHelper.CacheA cache abstraction. An implementation must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<ResultNode>getValue(String key, Function<String,CompletionStage<ResultNode>> loader)
-
-
-
Method Detail
-
getValue
CompletionStage<ResultNode> getValue(String key, Function<String,CompletionStage<ResultNode>> loader)
- Parameters:
key- The key for the cached part of the templateloader- The loader that can be used to load the cached value- Returns:
- the cached result
-
-