Package io.tesler.core.config
Class CacheConfig
- java.lang.Object
-
- org.springframework.cache.annotation.CachingConfigurerSupport
-
- io.tesler.core.config.CacheConfig
-
- All Implemented Interfaces:
org.springframework.cache.annotation.CachingConfigurer
@Configuration @EnableCaching public class CacheConfig extends org.springframework.cache.annotation.CachingConfigurerSupport
-
-
Field Summary
Fields Modifier and Type Field Description static String
LINKED_DICTIONARY_RULES
static String
NOTIFICATION_SETTINGS
static String
REQUEST_CACHE
static String
SPECIFICATION_CACHE
static String
UI_CACHE
static String
USER_CACHE
static String
WORKFLOW_CACHE
-
Constructor Summary
Constructors Constructor Description CacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.springframework.cache.CacheManager>
buildCacheManagers()
protected org.springframework.cache.CacheManager
buildRequestAwareCacheManager(String... names)
protected org.springframework.cache.CacheManager
buildUnExpirableCacheManager(String... names)
org.springframework.cache.CacheManager
cacheManager(MetaHotReloadService metaHotReloadService)
org.springframework.cache.Cache
requestCache()
org.springframework.cache.Cache
userCache()
-
-
-
Field Detail
-
NOTIFICATION_SETTINGS
public static final String NOTIFICATION_SETTINGS
- See Also:
- Constant Field Values
-
WORKFLOW_CACHE
public static final String WORKFLOW_CACHE
- See Also:
- Constant Field Values
-
USER_CACHE
public static final String USER_CACHE
- See Also:
- Constant Field Values
-
REQUEST_CACHE
public static final String REQUEST_CACHE
- See Also:
- Constant Field Values
-
LINKED_DICTIONARY_RULES
public static final String LINKED_DICTIONARY_RULES
- See Also:
- Constant Field Values
-
SPECIFICATION_CACHE
public static final String SPECIFICATION_CACHE
- See Also:
- Constant Field Values
-
UI_CACHE
public static final String UI_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
userCache
@Bean(name="userCache") public org.springframework.cache.Cache userCache()
-
requestCache
@Bean(name="requestCache") @RequestScope public org.springframework.cache.Cache requestCache()
-
cacheManager
@Bean public org.springframework.cache.CacheManager cacheManager(MetaHotReloadService metaHotReloadService)
-
buildCacheManagers
protected List<org.springframework.cache.CacheManager> buildCacheManagers()
-
buildUnExpirableCacheManager
protected org.springframework.cache.CacheManager buildUnExpirableCacheManager(String... names)
-
buildRequestAwareCacheManager
protected org.springframework.cache.CacheManager buildRequestAwareCacheManager(String... names)
-
-