Hi,

Here is my understanding, please do confirm.

The entity (say MyEntity) has the attribute set never-cache=false (default 
value)

Now the requirement is, I want this cache to expire every 1 hr.

Is the setting (mentioned below), in framework\base\config\cache.properties a 
solution to this requirement ?

entitycache.entity.mydelegator.MyEntity.expireTime=3600000
entitycache.entity.mydelegator.MyEntity.useSoftReference=true

here delegator name is "mydelegator" and entity name is "MyEntity"

Regards,
Prashant


________________________________

http://www.mindtree.com/email/disclaimer.html

Reply via email to