...
|
...
|
@@ -113,7 +113,29 @@ public class SearchCacheFactory { |
|
|
int cacheInMinute = 15;
|
|
|
return this.getOrCreateSearchCache("AGGREGATION", cacheType, cacheInMinute);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 获取聚合相关的缓存[yoho_redis with 30 min]
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
public SearchCache getSelectionsForAppCache() {
|
|
|
CacheType cacheType = CacheType.YOHO_REDIS;
|
|
|
int cacheInMinute = 30;
|
|
|
return this.getOrCreateSearchCache("SELECTIONS_APP", cacheType, cacheInMinute);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取聚合相关的缓存[yoho_redis with 30 min]
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
public SearchCache getSelectionsForPcCache() {
|
|
|
CacheType cacheType = CacheType.YOHO_REDIS;
|
|
|
int cacheInMinute = 30;
|
|
|
return this.getOrCreateSearchCache("SELECTIONS_PC", cacheType, cacheInMinute);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 推荐相关的缓存[yoho_redis with 30min]
|
|
|
*
|
...
|
...
|
|