开发者

Ehcache midnight/nightly expiration strategy

开发者 https://www.devze.com 2022-12-23 03:30 出处:网络
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

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."

0

精彩评论

暂无评论...
验证码 换一张
取 消