开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜