You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2017/05/08 05:23:05 UTC

[jira] [Updated] (SLING-6836) Use Timer instead of scheduler for delayed execution

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

Carsten Ziegeler updated SLING-6836:
------------------------------------
    Fix Version/s:     (was: Discovery Commons 1.0.16)
                   Discovery Commons 1.0.20

> Use Timer instead of scheduler for delayed execution
> ----------------------------------------------------
>
>                 Key: SLING-6836
>                 URL: https://issues.apache.org/jira/browse/SLING-6836
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Discovery Commons 1.0.20
>
>
> The InitDelayingTopologyEventListener currently uses a scheduler to schedule the delay. However this creates a strong dependency on the scheduler and might delay the event to an uncertain point in time as the pool of the scheduler might be exhausted atm.
> For these schedules, it's better to use javas timer class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)