public void delete() { map.delete(); }
public void delete() { map.delete(); }
@Override public R call() throws Exception { this.codec = (Codec) codecClass.getConstructor().newInstance(); Injector.inject(collator, redisson); RMap<KOut, VOut> resultMap = redisson.getMap(resultMapName, codec); R result = collator.collate(resultMap); resultMap.delete(); return result; }
@Override public R call() throws Exception { this.codec = (Codec) codecClass.getConstructor().newInstance(); Injector.inject(collator, redisson); RMap<KOut, VOut> resultMap = redisson.getMap(resultMapName, codec); R result = collator.collate(resultMap); resultMap.delete(); return result; }
public void delete() { if (map == null) { map = redissonManager.getMap(id); } map.delete(); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributesClearMessage(redissonManager.getNodeId(), getId())); } map = null; }
public void delete() { if (map == null) { map = redissonManager.getMap(id); } map.delete(); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributesClearMessage(redissonManager.getNodeId(), getId())); } map = null; }
public void delete() { if (map == null) { map = redissonManager.getMap(id); } map.delete(); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributesClearMessage(redissonManager.getNodeId(), getId())); } map = null; }
public void delete() { if (map == null) { map = redissonManager.getMap(id); } map.delete(); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributesClearMessage(redissonManager.getNodeId(), getId())); } map = null; }
public void delete() { map.delete(); }
@Override public R call() throws Exception { this.codec = (Codec) codecClass.getConstructor().newInstance(); Injector.inject(collator, redisson); RMap<KOut, VOut> resultMap = redisson.getMap(resultMapName, codec); R result = collator.collate(resultMap); resultMap.delete(); return result; }
public void delete() { if (map == null) { map = redissonManager.getMap(id); } map.delete(); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributesClearMessage(redissonManager.getNodeId(), getId())); } map = null; }
@Override public String changeSessionId() { String id = delegate.changeSessionId(); if (redisson.getConfig().isClusterConfig()) { Map<String, Object> oldState = map.readAllMap(); map.delete(); map = redisson.getMap(keyPrefix + id, map.getCodec()); map.putAll(oldState); } else { map.rename(keyPrefix + id); } return id; }