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:20:04 UTC

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

Carsten Ziegeler created SLING-6836:
---------------------------------------

             Summary: 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.14


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)