[CONCURRENCY_EE_SPEC-3] Contextual invocation points listed in section 2.3.1 should be made optional Created: 31/Jul/12  Updated: 21/Nov/12  Resolved: 07/Aug/12

Status: Closed
Project: concurrency-ee-spec
Component/s: None
Affects Version/s: None
Fix Version/s: Aug 6 2012

Type: Task Priority: Major
Reporter: anthony.lai Assignee: anthony.lai
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The following contextual invocation points listed section 2.3.1 should be made optional
ManagedTaskListener

  • taskAborted()
  • taskSubmitted()
  • taskStarting()
    Trigger
  • getNextRunTime()
  • skipRun()
    We should make all of these optional as contextual invocation points. It seems inefficient to be propagating context to all of these by default, which I suspect in a lot of cases won't be used. Let the ManagedExecutorService/ManagedScheduledExecutorService provide its own config options to control this as an optional behavior.


 Comments   
Comment by anthony.lai [ 07/Aug/12 ]

Updated section 2.3.1 to make callback methods as optional contextual invocation points. Added new configuration attribute contextual-callback to enable optional contextual invocation points.

Generated at Tue Feb 09 04:13:06 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.