Breako Breako
Breako Breako

Reputation: 6461

How to view contents of infinispan cache?

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

Answers (1)

Radim Vansa
Radim Vansa

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

Related Questions