EhCache - remove expired element (because of timeToIdleSeconds or timeToLiveSeconds) without try to get it?
I've done it with the following code:
cache.evictExpiredElements();
cache.flush();
I've done it with the following code:
cache.evictExpiredElements();
cache.flush();