This content has been marked as final.
Show 2 replies
-
1. Re: Best approach to perform reset lifespan, get lifespan etc. of all entries in 'distributed' and 'replication' configurations
galder.zamarreno Nov 25, 2011 8:13 AM (in response to ursudheesh)1 of 1 people found this helpful- Reset lifespan of all cache entries
- Get current lifespan of all cache entries
These two can easily be achieved using Infinispan's Map/Reduce framework:
- Get a particular entry whose key is, say 'myKey', irrespective of the node where it is located
cache.get()
If distributed, the get operation will locate it. If replication, well it's replicated to everyone, so should be available locally.
-
2. Re: Best approach to perform reset lifespan, get lifespan etc. of all entries in 'distributed' and 'replication' configurations
ursudheesh Nov 29, 2011 1:49 AM (in response to galder.zamarreno)Thanks for the reply. I am using Infinispan 4.2.1 (I cannot go for the higher versions) . I could not find the same feature in this particular version.
How can I achieve these goals in infinispan 4.2.1?