I am currently migrating from ConcurrentLinkedHashMap to Caffeine and I am stuck on trying to find an equivalent feature of setCapacity
_myCache.setCapacity(newCacheSize);
Is there a way to do the same in Caffeine ?
Should I copy my current cache into a newly created one with the new size ? That doesn't seem very efficient but I don't see another way to do so at the moment