If you want to use the evict policy with jboss cache, you must let your data
separated by nodes. node is the management unit .
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132117#4132117
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Yes Ive read the expiration policy but it suffers from the same problem as its
limited to expiring everything in the node at once, rather than the individual
elements in the node
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131372#4131372
Reply to the post
See this:
|
http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/2.1.0.CR1/userguide_en/html/eviction_policies.html#d0e3423
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131253#4131253
Reply to the post :
http://www.jboss.com/i
Unfortunately I dont think that is an option for us, since every element of the
cache has a dynamic key and value, and I'm not sure it would be efficient to
search every node every time we needed to pull from cache.
I guess another alternative is to put an object containing the value and
timeou
It is limited at a node level.
What can be done, though is to put one key/value in each node.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131202#4131202
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131202
I believe I initially got the definition of a Node incorrect. I had thought
that a Node was a cache Element, but instead I learned that its a Map of cache
Elements.
What I am looking for is an eviction policy that expires individual elements in
the cache, rather than the entire node. Does JBoss
Having maxAgeSeconds=300 will make all nodes be removed after 300 seconds,
disregarding whether a node has been used e.g. 20 seconds ago.
anonymous wrote : Unfortunately, we expected that individual elements would
expire after the time
Having setMaxAge=0 and timeToLive=300 would cause all the n
Is this feature even available in JBoss Cache as of the last production release?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131048#4131048
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131048
__