You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/09/20 11:18:00 UTC

[jira] [Closed] (SLING-6823) Use Timer instead of scheduler for delayed execution

     [ https://issues.apache.org/jira/browse/SLING-6823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu closed SLING-6823.
----------------------------------

> Use Timer instead of scheduler for delayed execution
> ----------------------------------------------------
>
>                 Key: SLING-6823
>                 URL: https://issues.apache.org/jira/browse/SLING-6823
>             Project: Sling
>          Issue Type: Improvement
>          Components: Event
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Event 4.2.4
>
>
> Currently, the scheduler is used in some places to delay some execution. As this execution is intended to be run at the delayed time, it is not optimal to rely on the scheduler, especially as the scheduler is resource constraint (by its pool).
> We could simply use java's Timer for this. Affected classes are:
> JobManagerConfiguration (2 occurences)
> JobQueueImpl (1 occurence)
> We can then also remove the scheduler from QueueServices



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)