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

2008-09-02 Thread jreeman
Ok thx to all. In fact I removed the expiration configuration in the config file and the code. I just added the line suggested by lovelyliatroim and it sounds to work fine I just have warnings in the log file about the different nodes of the FQN where I add my object : anonymous wrote :

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

2008-09-02 Thread jreeman
Oups here is my eviction configuration (I choose the most simple thing ;) ) : anonymous wrote : | | !-- Name of the DEFAULT eviction policy class. -- | org.jboss.cache.eviction.ExpirationPolicy | | View the original

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

2008-09-02 Thread jreeman
-- attribute name=EvictionPolicyConfig | config | attribute name=policyClassorg.jboss.cache.eviction.ExpirationPolicy/attribute | /config |/attribute View the original post :

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

2008-08-18 Thread mircea.markus
If you want to specify the eviction melodramatically only (no eviction config in the xml file), you have to do it like this: | ExpirationConfiguration expirationConfiguration = new ExpirationConfiguration(); | expirationConfiguration.setTimeToLiveSeconds(2); | EvictionConfig

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

2008-08-13 Thread lovelyliatroim
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 |