[infinispan-dev] Inspect local cache values

Radim Vansa rvansa at redhat.com
Mon Sep 26 10:09:19 EDT 2016


Hi Tobia,

for user questions, please use forum [1].

As per your question, use 
cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL) and call 
entrySet() or stream() on this object.

Radim

[1] https://developer.jboss.org/en/infinispan/

On 09/26/2016 03:56 PM, matroska wrote:
> Hi,
>
> I am trying to write a demo with Infinispan in order to make my company to
> use it. I have configured a distributed cache but I would like to print the
> content of the local values stored in memory (so the node memory). I cannot
> find any api to do that. Could you please suggest me how to show the local
> cache on nodes?
>
> Thanks
> Tobia
>
>
>
> --
> View this message in context: http://infinispan-developer-list.980875.n3.nabble.com/Inspect-local-cache-values-tp4031182.html
> Sent from the Infinispan Developer List mailing list archive at Nabble.com.
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


-- 
Radim Vansa <rvansa at redhat.com>
JBoss Performance Team



More information about the infinispan-dev mailing list