Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14916

Make LockManager pluggable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Core MongoDB, Core VCS
    • Tags:
    • Upgrade notes:
      Hide

      A new Lock Manager can be contributed using the following extension point:

      <extension target="org.nuxeo.ecm.core.storage.lock.LockManagerService" point="lockmanager">
      <lockmanager name="default" class="some.class.implementing.LockManager" />
      </extension>

      A repository will use the Lock Manager of the same name.

      Show
      A new Lock Manager can be contributed using the following extension point: <extension target="org.nuxeo.ecm.core.storage.lock.LockManagerService" point="lockmanager"> <lockmanager name="default" class="some.class.implementing.LockManager" /> </extension> A repository will use the Lock Manager of the same name.

      Description

      LockManager should be pluggable, as different backends may have different needs, and we may want to decouple the implementations.

      For instance a Redis-based LockManager is needed. Also, MongoDB storage will probably benefit from a specific LockManager implementation too.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: