moved decrement method to AbstractCache class