...
|
...
|
@@ -3,10 +3,11 @@ package com.yoho.search.service.cache.model; |
|
|
import com.yoho.search.service.cache.caches.CacheInterface;
|
|
|
|
|
|
public class SearchCache {
|
|
|
|
|
|
private static final int logPeriodInMinute = 1;// 默认每分钟打印一次日志
|
|
|
|
|
|
private CacheInterface cacheInterface;// 缓存类型
|
|
|
private int cacheInMinute = 5;// 缓存时间
|
|
|
private int logPeriodInMinute = 1;// 默认每分钟打印一次日志
|
|
|
private CacheMatchLogger cacheMatchLogger;
|
|
|
|
|
|
public SearchCache(String cacheName, CacheInterface cacheInterface, int cacheInMinute) {
|
...
|
...
|
|