[concurrency-interest] CallerRunsOrRejects for JDK8?
viktor.klang at gmail.com
Mon May 21 13:43:12 EDT 2012
On Mon, May 21, 2012 at 7:19 PM, Aleksey Shipilev <
aleksey.shipilev at gmail.com> wrote:
> On Sat, May 12, 2012 at 8:05 PM, √iktor Ҡlang <viktor.klang at gmail.com>
> > As a sidenote, it'd be nice to have an AsyncExecutor, which is never
> > to do caller-runs at all. Some code might rely on the block not being
> > executed on submission.
> I had always had a feeling this is the difference between
> Executor.execute() and ExecutorService.submit(). submit() should not
> allow to do caller-runs unless explicitly told so by rejection policy.
> I would anticipate lots of people are betting on that.
Problem is all the baggage of ExecutorService. :/
Akka Tech Lead
Typesafe <http://www.typesafe.com/> - The software stack for applications
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest