[
https://issues.apache.org/jira/browse/SLING-8086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681424#comment-16681424
]
Timothee Maret edited comment on SLING-8086 at 11/9/18 3:52 PM:
----------------------------------------------------------------
Opened PR
https://github.com/apache/sling-org-apache-sling-distribution-core/pull/15
[~mpetria] review welcome.
was (Author: marett):
Opened PR
https://github.com/apache/sling-org-apache-sling-distribution-core/pull/15
> Extend distribution queue SPI with the ability to clear and batch remove items
> ------------------------------------------------------------------------------
>
> Key: SLING-8086
> URL: https://issues.apache.org/jira/browse/SLING-8086
> Project: Sling
> Issue Type: Improvement
> Affects Versions: Content Distribution Core 0.3.4
> Reporter: Timothee Maret
> Assignee: Timothee Maret
> Priority: Major
> Fix For: Content Distribution Core 0.3.6
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, the {{DistributionQueue}} API only allows to remove a single
> random item from the queue. Clearing the queue, and batch removal of items
> are useful features which can't currently be supported in an optimised way
> for the {{DistributionQueue}} API.
> In this issue, we would extend the
> {{org.apache.sling.distribution.queue.spi}} SPI with new trait interfaces to
> allow clearing and batch removing items.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)