...
|
...
|
@@ -208,6 +208,9 @@ public class RedisGwCacheClient implements CacheClient { |
|
|
@SuppressWarnings("unchecked")
|
|
|
private <T> T getValue(String value, Class<T> clazz) {
|
|
|
T t = null;
|
|
|
if (value == null){
|
|
|
return (T) null;
|
|
|
}
|
|
|
if (clazz.equals(String.class)) {
|
|
|
t = (T) value;
|
|
|
} else if (clazz.equals(Integer.class)) {
|
...
|
...
|
|