Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-398

blockingTimeout property in cache factory

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ruths Ruth Stocks
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: