I was looking in docs but didn't find anything which can be helpful for my use case.
can anyone help me with this :)
Thank you
SATNAM SINGH
unread,
Sep 9, 2024, 7:11:58 AM9/9/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ehcache-dev
Number of entries present in ehcache: Suppose i have a student class and i have a cache of it I added 10 students how can i get size of my cache in a long i.e 10L, possibly I can iterate over the cache or forEach to get the size of keys or values present in the cache
Expire the cache on demand: Example: Student1 is added and he has 10 mins to complete a form if 10 min pass that student should be deleted from the cache. Just like how google guava cache provides ticker OOTB to advance cache time to mimic cache expiry for the cache