Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2549

ResourceChangeScanner should fail when scanning interval is set to a negative value or 0

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 5.1.0.M2
    • Fix Version/s: 5.1.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      When setting a negative poll interval to ResourceChangeScannerImpl, an exception is thrown when it tries to execute wait().
      It would be better if a runtime exception were thrown when setting an invalid interval value.
      An interval value of 0 should be also considered an invalida value (for performance reasons)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                eaa Esteban Aliverti
                Reporter:
                eaa Esteban Aliverti
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: