[jboss-user] [JBoss Cache: Core Edition] - Re: Problem with expiration eviction

lovelyliatroim do-not-reply at jboss.com
Wed Aug 13 09:50:02 EDT 2008


Have a read here

http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/2.2.0.CR6/userguide_en/html_single/index.html#d0e3603

Looks to me that your missing the equivalent of this


  | // sets the expiry time for a node
  | cache.getRoot().addChild(fqn1).put(ExpirationConfiguration.EXPIRATION_KEY, future);
  | 


You have add to set the EXPIRATION_KEY on the node as well as your data item that your caching!!



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170334#4170334

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170334



More information about the jboss-user mailing list