[DOCU-398] blockingTimeout property in cache factory Created: 26/Feb/13  Updated: 03/Apr/13  Resolved: 04/Mar/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Antti Hietala Assignee: Ruth Stocks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Add the blockingTimeout property to the Cache module document. As explained in a comment on Advanced Cache, the blockingTimeout property instructs Ehcache to wait n milliseconds before attempting to cache the request. Default value is 10000 milliseconds = 10 seconds.

The difference between the blockingTimeout method suggested by the commenter and the Changing waiting time procedure on the Advanced Cache page is that blockingTimeout applies to the cache factory whereas the waiting procedure is specific to a cache policy.

Both methods work with the basic Cache module, not Advanced Cache only. So move them to the Cache module document and combine under an appropriate heading.

In the config tree, the blockingTimeout property should be created at the same level where the info.magnolia.module.cache.ehcache.EhCacheFactory class is defined, not inside the defaultCacheConfiguration node.

Git: info.magnolia.module.cache.ehcache.EhCacheFactory


Generated at Mon Feb 12 01:08:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.