Reputation: 6461
I am using the infinispan cache in a grails project.
Is there any way I can hit a JMX port or anything to see the contents of the cache?
Thanks.
Upvotes: 3
Views: 2321
Reputation: 5888
Here are docs for JMX operations. And no, there is no JMX operation that would show all entries.
In local/replicated mode, you can call values() on the cache to get all values, but this is not a recommended operation for production (it does not scale very well). Instead, look on Distributed Executors or Map/Reduce API.
Upvotes: 3