Ehcache Core
  1. Ehcache Core
  2. EHC-600

setting net.sf.ehcache.skipUpdateCheck to true should not create unnecessary timer threads

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: 2 Major 2 Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.1
    • Fix Version/s: None
    • Component/s: ehcache-core
    • Labels:
      None
    • Terracotta Target:
      Pending

      Description

      The check for net.sf.ehcache.skipUpdateCheck is done within the run method of the timer thread. This should be checked before creating the Timer thread.

      We have 20 ehcache-xxx files creating 20 unnecessary timer threads checking for updates.

        Activity

        Hide
        Fiona OShea added a comment -

        Review of update checker and defaults under consideration for future releases

        Show
        Fiona OShea added a comment - Review of update checker and defaults under consideration for future releases
        Hide
        Stevo Slavic added a comment -

        Workaround - UpdaterChecker (TimerTask) is not instantiated if in ehcache XML configuration file(s) one explicitly sets updateCheck attribute of ehcache element to false. This attribute is optional and defaults to true.

        Show
        Stevo Slavic added a comment - Workaround - UpdaterChecker (TimerTask) is not instantiated if in ehcache XML configuration file(s) one explicitly sets updateCheck attribute of ehcache element to false. This attribute is optional and defaults to true.

          People

          • Assignee:
            Product Management
            Reporter:
            DIno V
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: