Commit 3042d77a by Future

ehcache

parent 4035276a
......@@ -28,7 +28,7 @@ public class EhcacheService {
*/
public Boolean getIsPush(String key) {
Cache cache = cacheManager.getCache("push");
String value = String.valueOf(cache.get(key));
String value = cache.get(key, String.class);
log.info("ehcache value {}", value);
if (StringUtils.isNotBlank(value)) {
log.info("not blank {}", value);
......
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