0 Replies Latest reply on Sep 14, 2011 6:11 AM by thanikg

    Urgent : Does a get operation on cache refresh its timetolive seconds?

    thanikg Newbie

      I am using Jboss5.1. I have the following configurations in my cache config xml file for a particular region.


       <region name="/Reg1">
      <attribute name="maxNodes">5000</attribute>
      <attribute name="timeToLiveSeconds">600</attribute>
      <attribute name="maxAgeSeconds">600</attribute>



      I will put (put operation) an hashMap into the region with nodeName : /Reg1/12345/abc and key: Somekey


      My question is as follows :


      Within 600 seconds, if i do a get operation to get the hasMap from cache using the nodeName : /Reg1/12345/abc and key: Somekey


      Will the same node be available for another 600 seconds ? or the 600 seconds is only from when i put the object into the cahe ?

      Do i have any method to increase the node timetolive seconds ?


      Reqesting an early reply from somebody. Thanks in advance.