@Override public void evict(Object key) { map.fastRemove(key); }
@Override public void evict(Object key) { map.fastRemove(key); }
@Override public void removeAttribute(String attributeName) { delegate.removeAttribute(attributeName); if (map != null) { map.fastRemove(attributeName); } }
@Override public void removeAttribute(String attributeName) { delegate.removeAttribute(attributeName); if (map != null) { map.fastRemove(attributeName); } }
@Override protected void removeAttributeInternal(String name, boolean notify) { super.removeAttributeInternal(name, notify); if (updateMode == UpdateMode.DEFAULT && map != null) { map.fastRemove(name); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributeRemoveMessage(redissonManager.getNodeId(), getId(), name)); } } }
@Override protected void removeAttributeInternal(String name, boolean notify) { super.removeAttributeInternal(name, notify); if (updateMode == UpdateMode.DEFAULT && map != null) { map.fastRemove(name); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributeRemoveMessage(redissonManager.getNodeId(), getId(), name)); } } }
@Override protected void removeAttributeInternal(String name, boolean notify) { super.removeAttributeInternal(name, notify); if (updateMode == UpdateMode.DEFAULT && map != null) { map.fastRemove(name); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributeRemoveMessage(redissonManager.getNodeId(), getId(), name)); } } }
@Override protected void removeAttributeInternal(String name, boolean notify) { super.removeAttributeInternal(name, notify); if (updateMode == UpdateMode.DEFAULT && map != null) { map.fastRemove(name); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributeRemoveMessage(redissonManager.getNodeId(), getId(), name)); } } }
@Override public void evict(Object key) { map.fastRemove(key); }
@Override public void removeAttribute(String attributeName) { delegate.removeAttribute(attributeName); if (map != null) { map.fastRemove(attributeName); } }
@Override protected void removeAttributeInternal(String name, boolean notify) { super.removeAttributeInternal(name, notify); if (updateMode == UpdateMode.DEFAULT && map != null) { map.fastRemove(name); if (readMode == ReadMode.MEMORY) { topic.publish(new AttributeRemoveMessage(redissonManager.getNodeId(), getId(), name)); } } }
long removedAmount = map.fastRemove("b");