How to use Google guava cache library to for key alone

后端 未结 0 1079
温柔的废话
温柔的废话 2021-02-05 05:13

I am using Java 11 for my application. I want to store the log lines in Google guava cache with limit as 5000 and write it to file after the limit is reached with synchronized.<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题