| Package | Description |
|---|---|
| com.mitchellbosecke.pebble | |
| com.mitchellbosecke.pebble.cache.tag | |
| com.mitchellbosecke.pebble.cache.template | |
| com.mitchellbosecke.pebble.template |
| Modifier and Type | Method and Description |
|---|---|
PebbleCache<CacheKey,Object> |
PebbleEngine.getTagCache()
Returns the tag cache
|
PebbleCache<Object,PebbleTemplate> |
PebbleEngine.getTemplateCache()
Returns the template cache
|
| Modifier and Type | Method and Description |
|---|---|
PebbleEngine.Builder |
PebbleEngine.Builder.tagCache(PebbleCache<CacheKey,Object> tagCache)
Sets the cache used by the "cache" tag.
|
PebbleEngine.Builder |
PebbleEngine.Builder.templateCache(PebbleCache<Object,PebbleTemplate> templateCache)
Sets the cache used by the engine to store compiled PebbleTemplate instances.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CaffeineTagCache |
class |
ConcurrentMapTagCache |
class |
NoOpTagCache |
| Modifier and Type | Class and Description |
|---|---|
class |
CaffeineTemplateCache |
class |
ConcurrentMapTemplateCache |
class |
NoOpTemplateCache |
| 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.