EhCache索引查看器
对于 Lucene,我们有一个很好的工具箱,例如 Luke 来查看、诊断、编辑等。我们是否有类似的 EhCache 工具(至少显示)(当我们启用 diskPersistent 时)?
For Lucene, we have a good toolbox like Luke to view, diagnose, edit etc. Do we have similar tool (at least display) for EhCache (when we enable diskPersistent)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道有任何这样的工具,并且文件格式并未真正指定或定义为 API。基本上,EhCache 将序列化对象写入数据和索引文件。如果直接访问文件,您可以读取并显示它们。为了让您继续前进,这里有一个程序作为起点:
I don't know of any such tool, and the file format isn't really specified or defined as API. Basically, EhCache writes serialized objects to the data and index files. You can read and display them if you access the files directly. To get you going, here is a program as a starting point: