Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7416

Add Invalidate RuleUnit method

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.43.0.Final
    • 8.37.0.Final
    • core engine
    • None
    • 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24), 2023 Week 24-26 (from Jun 12)
    • 1
    • NEW
    • NEW
    • ---
    • ---

    Description

      Issue Description:

      https://groups.google.com/g/drools-usage/c/G6A3EMbec90/m/KSGzoOEdAAAJ

      When rules change dynamically (especially in case of RuleUnitDSL), the application wants to rebuild the RuleUnit. Currently it's stored in `RuleUnitProviderImpl.ruleUnitMap`

      Acceptance Criteria:

      RuleUnitDSL can dynamically change the RuleUnit

      Rather than exposing "rebuild" flag, introduce "invalidate" method. It will have the same benefit as "rebuild", and also have control on heap memory.

      Attachments

        Activity

          People

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: