[EMF Validation] Is parralel Batch Validation supported? [message #1616017] |
Sat, 14 February 2015 03:52  |
Eclipse User |
|
|
|
Hello!
I'd like to know, is it possible to run multiple Batch Validators in parallel? (On different objects).
Currently, when running in parallel, I'm running into some problems with
org.eclipse.emf.validation.internal.service.AbstractValidationContext.ConstraintFilter.accept(IModelConstraint constraint)
method. constraint is sometimes null, which looks like some kind of concurrency problem. It also uses some signletons, like ClientContextManager and ModelValidationService, which as well does not look good for concurrent execution.
So, is concurrent execution of multiple of batch validators in parralel possible?
|
|
|
|
Re: [EMF Validation] Is parralel Batch Validation supported? [message #1620860 is a reply to message #1616017] |
Tue, 17 February 2015 08:35  |
Eclipse User |
|
|
|
Hi, Leonid,
I would classify this as a bug, although I cannot speak for the EMF
Validation project. There were efforts some releases ago to fix
specific concurrency issues (I think I recall something of that nature
in the traversal-strategies, for example). It should, in general, be
possible to work with distinct EMF ResourceSets concurrently, which
implies that components like the validation framework and transactions
should also support this. The transactions explicitly do, and as they
use the validation framework for live validation, that would seem to
require the same of the latter.
Cheers,
Christian
On 2015-02-14 08:52:39 +0000, Leonid Ripeynih said:
> Hello!
>
> I'd like to know, is it possible to run multiple Batch Validators in
> parallel? (On different objects).
>
> Currently, when running in parallel, I'm running into some problems with
> org.eclipse.emf.validation.internal.service.AbstractValidationContext.ConstraintFilter.accept(IModelConstraint
> constraint)
>
> method. constraint is sometimes null, which looks like some kind of
> concurrency problem. It also uses some signletons, like
> ClientContextManager and ModelValidationService, which as well does not
> look good for concurrent execution.
> So, is concurrent execution of multiple of batch validators in parralel
> possible?
|
|
|
Powered by
FUDForum. Page generated in 0.02742 seconds