205206207208209210211212213214215
entry = entries.remove(key); signalWeDeleted(key); if (entry != null) { usedMemory.addAndGet(-entry.size()); entry.dispose(); logger.info("object with key '" + key + "' disposed"); } return entry; }