/** * item value has been refreshed * @param item <code>CacheItem</code> that was refreshed * @param oldSize size of the previous value that was refreshed * Cache bucket is already synchronized by the caller */ protected void itemRefreshed(CacheItem item, int oldSize) { super.itemRefreshed(item, oldSize); /** reduce the cache by the size of the size of the previous value * and increment by the value being refreshed with. */ decrementCurrentSize(oldSize); incrementCurrentSize(item.getSize()); }
/** * item value has been refreshed * @param item <code>CacheItem</code> that was refreshed * @param oldSize size of the previous value that was refreshed * Cache bucket is already synchronized by the caller */ protected void itemRefreshed(CacheItem item, int oldSize) { super.itemRefreshed(item, oldSize); /** reduce the cache by the size of the size of the previous value * and increment by the value being refreshed with. */ decrementCurrentSize(oldSize); incrementCurrentSize(item.getSize()); }
/** * item value has been refreshed * @param item <code>CacheItem</code> that was refreshed * @param oldSize size of the previous value that was refreshed * Cache bucket is already synchronized by the caller */ protected void itemRefreshed(CacheItem item, int oldSize) { super.itemRefreshed(item, oldSize); /** reduce the cache by the size of the size of the previous value * and increment by the value being refreshed with. */ decrementCurrentSize(oldSize); incrementCurrentSize(item.getSize()); }
/** * item value has been refreshed * @param item <code>CacheItem</code> that was refreshed * @param oldSize size of the previous value that was refreshed * Cache bucket is already synchronized by the caller */ protected void itemRefreshed(CacheItem item, int oldSize) { super.itemRefreshed(item, oldSize); /** reduce the cache by the size of the size of the previous value * and increment by the value being refreshed with. */ decrementCurrentSize(oldSize); incrementCurrentSize(item.getSize()); }