[jboss-user] [JBoss Cache] - Urgent : Does a get operation on cache refresh its timetolive seconds?
thanikg
do-not-reply at jboss.com
Wed Sep 14 06:12:02 EDT 2011
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&containerType=14&container=2052]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110914/42300793/attachment.html
More information about the jboss-user
mailing list