thanikg [
http://community.jboss.org/people/thanikg] created the discussion
"Urgent : Does a get operation on cache refresh its timetolive seconds?"
To view the discussion, visit:
http://community.jboss.org/message/626400#626400
--------------------------------------------------------------
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>
</region>
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.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/626400#626400]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]