Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-21671

Embedded Java persist semantics tweaks

    XMLWordPrintable

    Details

      Description

      Following discussions, the implementation of EMBED in Java should be updated as follows:

      1. Add a globalscope option, like the one in Python, to allow control over which embed/import calls share a persisted object
      2. Remove the ability to release a Java object that is returned to ECL code - all such objects will be released automatically at the end of their lifetime
      3. Change the semantics of the "constructor" call so that it will return a reference to a singleton (of the appropriate lifetime/scope as defined by the PERSIST and GLOBALSCOPE options) rather than a new object each time.

        Attachments

          Activity

            People

            Assignee:
            richardkchapman Richard Chapman
            Reporter:
            richardkchapman Richard Chapman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: