Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Joining on a job belonging to the same group is not supported

Hi,

Is this a totally silly idea or should I open an enhancement request ?

On 06/16/2015 12:30 PM, Mickael Istria wrote:
Hi again,

While I'm getting in more details with the JobGroup API, the following error occured to me "Joining on a job belonging to the same group is not supported". Although it's pretty explicit and leaves no doubt about what is forbidden, I fail to understand why this is forbidden. In my use-case of a deep navigation in a resource tree, I'd like to create 1 job for each child and to have the parent job joining on the completion of children's job. All those jobs would share the same thread pool, throttling using JobGroup.

Why isn't it allowed for a job to join on other jobs of the JobGroup?
What would be an alternative for my use-case?

Cheers,

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top