It's actually pretty common to want to cache values with a per node TTL.
Here are some references ...
http://ehcache.sourceforge.net/javadoc/net/sf/ehcache/Element.html#setTim...
http://forums.tangosol.com/thread.jspa?threadID=1041&tstart=75
http://www.opensymphony.com/oscache/api/com/opensymphony/oscache/web/filt...
I'm actually surprised this isn't supplied as a base expiration policy.
I actually registered on the Tangosol to get this Javadoc:
|
com.tangosol.net
| Interface NamedCache
|
| put
|
| Object put(Object oKey,
| Object oValue,
| long cMillis)
|
| Associates the specified value with the specified key in this cache and allows to
specify an expiry for the cache entry.
|
And you want to vote on it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989519#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...