Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8065

Introduce ReadOnlyDistributionQueue API

    XMLWordPrintableJSON

Details

    Description

      We currently export an SPI with a fully editable queue, DistributionQueue.

      Some distribution queue implementation are read-only meaning that they don't provide the ability to add/remove items. Example of such read-only queue is an implementation on top of an append only messaging service.

      In this issue, I suggest to introduce add and export the ReadOnlyDistributionQueue interface. The existing read-only method signatures from DistributionQueue would be moved from DistributionQueue to ReadOnlyDistributionQueue. DistributionQueue would extend from ReadOnlyDistributionQueue. This change is backward compatible.

      Attachments

        Issue Links

          Activity

            People

              marett Timothee Maret
              marett Timothee Maret
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m