Commit ad6097f2 authored by Bill Wang's avatar Bill Wang
Browse files

update

parent ee5c9ada
......@@ -76,7 +76,7 @@ public class CursorCacheImpl implements CursorCache {
}
cache = new RedisCache(host, port, password, expTimeSeconds, String.class, CursorSettings.class);
}
local = cache.getClass() != RedisCache.class;
local = cache.getClass() != AutoCloseable.class;
}
/**
......
......@@ -66,7 +66,7 @@ public class FieldTypeMappingCacheImpl implements IFieldTypeMappingCache {
}
cache = new RedisCache(host, port, password, expTimeSeconds, String.class, Map.class);
}
local = cache.getClass() != RedisCache.class;
local = cache.getClass() != AutoCloseable.class;
}
/**
......
......@@ -60,7 +60,7 @@ public class IndexCacheImpl implements IIndexCache<String, Boolean>, AutoCloseab
}
cache = new RedisCache(host, port, password, expTimeSeconds, String.class, Boolean.class);
}
local = cache.getClass() != RedisCache.class;
local = cache.getClass() != AutoCloseable.class;
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment