Author Joshua.Harlow
Recipients Joshua.Harlow
Date 2014-10-27.02:38:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When a future can't be accepted by an executor that it is has been submitted to it would be really nice to throw have a type of 'RejectedExecutionException' (this is the name the java folks have used) to denote that the executors policy does not allow for further execution.

Some of the reasons that further execution could be rejected (an arbitrary executor policy would be really neat).

- Backlog of work to be done has reached a configurable threshold.
- Resource limits reached (in concept similar to a 503 HTTP error code), come back later...

This would be a great addition to allow for executor usage that does not cause resource starvation (currently executors have unbounded work queues, which is undesirable under load where a rejected execution error would be more appropriate to avoid more starvation...)
Date User Action Args
2014-10-27 02:38:59Joshua.Harlowsetrecipients: + Joshua.Harlow
2014-10-27 02:38:59Joshua.Harlowsetmessageid: <>
2014-10-27 02:38:59Joshua.Harlowlinkissue22737 messages
2014-10-27 02:38:58Joshua.Harlowcreate