[ 
https://issues.apache.org/jira/browse/SLING-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144371#comment-15144371
 ] 

Marius Petria commented on SLING-5512:
--------------------------------------

The use case I am concerned with is Content Distribution queues, and the 
scalability of the UI when there are a lot of packages to distribute. But I 
think we can use limits in UI not to display more than 1000 jobs.

> Improve JobManager.findJobs querying by supporting skip items
> -------------------------------------------------------------
>
>                 Key: SLING-5512
>                 URL: https://issues.apache.org/jira/browse/SLING-5512
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Marius Petria
>
> Currently findJobs API only accepts a limit parameter to restrict the size of 
> the retrieved collection. In order to better support paged views of jobs we 
> should also support a skip parameter. 
> Also it would be very useful to have a countJobs API aswell.
> [1] 
> https://sling.apache.org/apidocs/sling8/org/apache/sling/event/jobs/JobManager.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to