Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6138

Remove addObserver method from Scheduler API

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.3, 1.8.0
    • Component/s: segment-tar
    • Labels:
      None

      Description

      We should remove the addObserver() method from the Scheduler interface and instead have LockBasedScheduler implement Observable(or not depending on the dispatchChanges flag in LockBasedSchedulerBuilder.build(). SegmentNodeStore.addObserver() would then instance of check the scheduler for Observable.

        Attachments

        1. OAK-6138.patch
          4 kB
          Andrei Dulceanu
        2. OAK-6138-02.patch
          7 kB
          Andrei Dulceanu

          Activity

            People

            • Assignee:
              adulceanu Andrei Dulceanu
              Reporter:
              adulceanu Andrei Dulceanu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: