Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1169

Allow for finer scoped resource management in controls

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • V.Next
    • None
    • Controls
    • None

    Description

      A control's resources are typically managed by the control listening for 'onAcquire' / 'onRelease' events. The duration between an onAcquire / onRelease may be much longer than necessary depending on the project's design.

      For example:

      Control Client:

      public void invokeSomeControls() {

      ctrl1.invoke() /* ctrl1 acquires resources */
      .
      .
      .
      ctrl2.invoke() /* ctrl2 acquires resources */
      .
      .
      .
      } /* ctrl1 and ctrl2 release resources */

      It would be nice to come up with a solution that allows the developer to specify a shorter onAcquire/onRelease period, perhaps even just for the duration of a method invocation of a control.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chad_s Chad Schoettger

            Dates

              Created:
              Updated:

              Slack

                Issue deployment