|
@@ -1,9 +1,5 @@
|
|
|
package cn.com.qmth.examcloud.web.cache;
|
|
|
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
-import com.google.common.collect.Maps;
|
|
|
-
|
|
|
import cn.com.qmth.examcloud.web.redis.RedisClient;
|
|
|
import cn.com.qmth.examcloud.web.support.SpringContextHolder;
|
|
|
|
|
@@ -18,10 +14,6 @@ public class RandomCacheVersionHelper {
|
|
|
|
|
|
private static RedisClient redisClient;
|
|
|
|
|
|
- private static Map<Class<? extends RandomCacheBean>, String> presentMap = Maps.newHashMap();
|
|
|
-
|
|
|
- private static Map<Class<? extends RandomCacheBean>, String> timeoutMap = Maps.newHashMap();
|
|
|
-
|
|
|
private static RedisClient getRedisClient() {
|
|
|
if (null == redisClient) {
|
|
|
redisClient = SpringContextHolder.getBean(RedisClient.class);
|