public class CacheManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static CacheManager |
INSTANCE |
| Constructor and Description |
|---|
CacheManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
evict(String cacheName,
org.thymeleaf.templatemode.TemplateMode templateMode,
Locale locale) |
void |
evictByStartsWith(String cacheName) |
List<String> |
get(String cacheName,
org.thymeleaf.templatemode.TemplateMode templateMode,
Locale locale,
int cacheTTLs) |
String |
getCacheNameFromExpressionResult(Object expressionResult) |
void |
put(String cacheName,
org.thymeleaf.templatemode.TemplateMode templateMode,
Locale locale,
List<String> content) |
public static final CacheManager INSTANCE
public void evict(String cacheName, org.thymeleaf.templatemode.TemplateMode templateMode, Locale locale)
public void evictByStartsWith(String cacheName)
public List<String> get(String cacheName, org.thymeleaf.templatemode.TemplateMode templateMode, Locale locale, int cacheTTLs)
public String getCacheNameFromExpressionResult(Object expressionResult)
Copyright © 2016. All Rights Reserved.