|creating and calculating concrete using threading [message #686511]
||Wed, 22 June 2011 11:53
| ModelGeek Mising name
Registered: June 2011
I create ecore model in a standalone java application programatically and i want to create and calculate 1000 XMI models using threading.
I am using
EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE.put(oclDelegateURI, new OCLSettingDelegateFactory.Global());
When i create 1000 model in one thread then every thing works fine but it takes long time to calculate as i go through all objects and try to invoke eGet method for all derived attributes and properties and as we know that OCL evaluation environments is not thread safe and i can not use multithreading so can you
please suggest a way to improve the processing time?
Is code generation can solve problem?
Please help me
Powered by FUDForum
. Page generated in 0.08908 seconds