Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-175

Optimize ServiceControllerImpl.shouldStop() method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.1.7.Final, 1.2.7.Final
    • None
    • None

      Current shouldStop() implementation looks like:

      return mode == Mode.NEVER
             || mode == Mode.REMOVE
             || demandedByCount == 0 && ...
      

      NEVER is least frequent mode out there. It should be checked last.
      REMOVE is most frequent mode out there. It should be checked first.

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: