@Configuration @EnableCaching public class CacheConfig extends Object implements org.springframework.cache.annotation.CachingConfigurer
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_TIME |
static TimeUnit |
CACHE_TIME_UNIT |
static String |
COLLECTION_NAMES |
static String |
COLLECTIONS_FIELDS |
static String |
COLLECTIONS_FIELDS_ALIASES |
static String |
COMPLETE_COLLECTION_INFOS |
static String |
ENDPOINTS |
static String |
JSON_TRANSFORMERS |
| Constructor and Description |
|---|
CacheConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cache.CacheManager |
cacheManager() |
org.springframework.cache.interceptor.CacheResolver |
cacheResolver() |
org.springframework.cache.interceptor.CacheErrorHandler |
errorHandler() |
IndexServiceCache |
indexServiceCache() |
org.springframework.cache.interceptor.KeyGenerator |
keyGenerator() |
public static final TimeUnit CACHE_TIME_UNIT
public static final long CACHE_TIME
public static final String ENDPOINTS
public static final String COLLECTION_NAMES
public static final String COLLECTIONS_FIELDS
public static final String COLLECTIONS_FIELDS_ALIASES
public static final String JSON_TRANSFORMERS
public static final String COMPLETE_COLLECTION_INFOS
@Bean public IndexServiceCache indexServiceCache()
@Bean public org.springframework.cache.CacheManager cacheManager()
cacheManager in interface org.springframework.cache.annotation.CachingConfigurerpublic org.springframework.cache.interceptor.CacheResolver cacheResolver()
cacheResolver in interface org.springframework.cache.annotation.CachingConfigurerpublic org.springframework.cache.interceptor.CacheErrorHandler errorHandler()
errorHandler in interface org.springframework.cache.annotation.CachingConfigurerpublic org.springframework.cache.interceptor.KeyGenerator keyGenerator()
keyGenerator in interface org.springframework.cache.annotation.CachingConfigurerCopyright © 2017. All Rights Reserved.