5 Replies Latest reply on Oct 31, 2017 9:35 AM by Niclas Mattsson

    Replicated cache with Infinispan

    Niclas Mattsson Newbie



      I'm using a replicated cache with Infinispan on Wildfly 8. I'm using an idle time of 60 minutes, but at what actions is the idle time reset? I understand it's reset on write (or put) when the data is replicated to the other caches, but is it also reset on a read? I figured that since only one node in the cluster is affected it wouldn't be reset, but I'm not sure if last read time is replicated at that time.


      I was actually looking for a method like "touch" because sometimes I don't need to do neither read or write but have to keep the entry in the cache because user is still logged in doing other stuff.


      I couldn't find info about this in the docs, but I might have overlooked something.