Ehcache midnight/nightly expiration strategy
It's not immediately obvious to me how to set EhCache to expire an entire cache nightly/at midnight. I can easily do this programmatically via a job of some sort, but 开发者_如何学编程I wanted to know if there was a more "ehcache" way of doing it.
Thanks in advance!
It sounds like you should implement it using a Cache Extension
"Cache Extensions are suitable for timing services, where you want to create a timer to perform cache operations."
精彩评论