Authored by hugufei

ehcache缓存时间调短

... ... @@ -50,7 +50,7 @@ public class CacheAbleServiceHelper {
* @param commonRecallResult
* @return
*/
@SearchCacheAble(cacheName = "COMMON_SCENE_QUERY_BY_SKN",needMd5=false,cacheType=CacheType.EHCACHE, cacheInMinute = 10)
@SearchCacheAble(cacheName = "COMMON_SCENE_QUERY_BY_SKN",needMd5=false,cacheType=CacheType.EHCACHE, cacheInMinute = 3)
public SearchApiResult queryProductInfoMap(CommonRecallResult commonRecallResult) {
try {
// 1)获取skn
... ...
... ... @@ -51,7 +51,7 @@ public class CommonPageRecallService extends BaseRecallService {
* @param paramMap
* @return
*/
@SearchCacheAble(cacheInMinute = 10, needMd5 = false, cacheName = "COMMON_PAGE_RECALL_BATCH", cacheType = CacheType.EHCACHE, returnClass = CommonRecallResult.class, excludeParams = {
@SearchCacheAble(cacheInMinute = 3, needMd5 = false, cacheName = "COMMON_PAGE_RECALL_BATCH", cacheType = CacheType.EHCACHE, returnClass = CommonRecallResult.class, excludeParams = {
"uid", "order", "page" })
public CommonRecallResult doCommonPageRecallBatch(Map<String, String> paramMap) {
try {
... ...