private void evictCache(Cache cache, long l) {
   while (currentSize + l > maxBytes) {
     cache.removeSpan((CacheSpan) leastRecentlyUsed.first());
   }
 }
 private void evictCache(Cache cache, long requiredSpace) {
   while (currentSize + requiredSpace > maxBytes) {
     cache.removeSpan(leastRecentlyUsed.first());
   }
 }