简体   繁体   English

如何在 Wildfly 23 中浏览 Infinispan 缓存数据

[英]How to browse Infinispan cache data in Wildfly 23

I'm having some cache issues in my application (stuff disappearing), and I would like to browse the cache contents in real time to watch what happens to the information stored in there.我的应用程序中存在一些缓存问题(东西正在消失),我想实时浏览缓存内容以查看存储在其中的信息会发生什么。 Searching on google I've found that Infinispan standalone Server has a console in which you can do that, but I couldn't find any information on how to see the data when using Infinispan as a Wildfly Module.在 google 上搜索我发现 Infinispan 独立服务器有一个控制台,您可以在其中执行此操作,但是我找不到有关在将 Infinispan 作为 Wildfly 模块使用时如何查看数据的任何信息。 Is there a way to do that?有没有办法做到这一点?

If not, how would I go about making my application use the Infinispan server instead of the Wildfly module?如果没有,我将如何让我的应用程序使用 Infinispan 服务器而不是 Wildfly 模块?

Thank you very much!非常感谢!

Unfortunately the Infinispan Console isn't yet packaged in a way that could be used from within WildFly.不幸的是,Infinispan 控制台尚未以可在 WildFly 中使用的方式打包。 In theory you could start an Infinispan Server with the same version used in WildFly and letting it join the cluster as a zero-capacity node.理论上,您可以使用 WildFly 中使用的相同版本启动 Infinispan 服务器,并让它作为零容量节点加入集群。 You will then be able to use the console to browse the data in the WildFly caches.然后,您将能够使用控制台浏览 WildFly 缓存中的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM