| Package | Description |
|---|---|
| com.mitchellbosecke.pebble | |
| com.mitchellbosecke.pebble.cache.tag | |
| com.mitchellbosecke.pebble.template |
| Modifier and Type | Method and Description |
|---|---|
PebbleCache<CacheKey,Object> |
PebbleEngine.getTagCache()
Returns the tag cache
|
| Modifier and Type | Method and Description |
|---|---|
PebbleEngine.Builder |
PebbleEngine.Builder.tagCache(PebbleCache<CacheKey,Object> tagCache)
Sets the cache used by the "cache" tag.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
NoOpTagCache.computeIfAbsent(CacheKey key,
java.util.function.Function<? super CacheKey,?> mappingFunction) |
Object |
CaffeineTagCache.computeIfAbsent(CacheKey key,
java.util.function.Function<? super CacheKey,?> mappingFunction) |
Object |
ConcurrentMapTagCache.computeIfAbsent(CacheKey key,
java.util.function.Function<? super CacheKey,?> mappingFunction) |
| Modifier and Type | Method and Description |
|---|---|
Object |
NoOpTagCache.computeIfAbsent(CacheKey key,
java.util.function.Function<? super CacheKey,?> mappingFunction) |
Object |
CaffeineTagCache.computeIfAbsent(CacheKey key,
java.util.function.Function<? super CacheKey,?> mappingFunction) |
Object |
ConcurrentMapTagCache.computeIfAbsent(CacheKey key,
java.util.function.Function<? super CacheKey,?> mappingFunction) |
| Constructor and Description |
|---|
CaffeineTagCache(com.github.benmanes.caffeine.cache.Cache<CacheKey,Object> tagCache) |
ConcurrentMapTagCache(ConcurrentMap<CacheKey,Object> tagCache) |
| Modifier and Type | Method and Description |
|---|---|
PebbleCache<CacheKey,Object> |
EvaluationContextImpl.getTagCache()
Returns the cache used for the "cache" tag
|
| Constructor and Description |
|---|
EvaluationContextImpl(PebbleTemplateImpl self,
boolean strictVariables,
Locale locale,
ExtensionRegistry extensionRegistry,
PebbleCache<CacheKey,Object> tagCache,
ExecutorService executorService,
List<PebbleTemplateImpl> importedTemplates,
Map<String,PebbleTemplateImpl> namedImportedTemplates,
ScopeChain scopeChain,
Hierarchy hierarchy,
EvaluationOptions evaluationOptions)
Constructor used to provide all final variables.
|
Copyright © 2019. All rights reserved.