Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3490

Provide configuration parameters for OptimisticLockRetryInterceptor

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 7.11.0.GA
    • 7.10.0.GA
    • BRE, jBPM Core
    • False
    • False
    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • CR1
    • ?
    • Undefined
    • ---
    • ---
    • 2021 Week 10-12 (from Mar 8)

    Description

      Following up on RHPAM-3487, it would be good to have configuration options available to control the behavior of the OptimisticLockRetryInterceptor:

      • retries
      • delay
      • delayFactor

      This would allow users to configure the retry logic as they see fit. Thanks!

      Created new flags

          private int retries = Integer.getInteger("org.kie.optlock.retries", 5);
          private long delay = Long.getLong("org.kie.optlock.delay", 50L);
          private long delayFactor = Long.getLong("org.kie.optlock.delayFactor", 4L);
      
      

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: RHPAM

              People

                elguardian@gmail.com Enrique González Martínez
                rhn-support-mputz Martin Weiler
                Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
                Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: