protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }
protected void remove(final FileCacheEntry entry) { if (fileCacheMap.remove(entry.key) != null) { cacheSize.decrementAndGet(); } if (entry.type == FileCache.CacheType.MAPPED) { subMappedMemorySize(entry.bb.remaining()); } else if (entry.type == FileCache.CacheType.HEAP) { subHeapSize(entry.bb.remaining()); } notifyProbesEntryRemoved(this, entry); }