Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [january-dev] IMetadata and synchronization?

Hi Jonah,

OK, done:   https://github.com/eclipse/january/issues/27

Scott


On 12/13/2016 2:07 PM, Jonah Graham wrote:
Hi Scott,

Please raise an issue. Either this is a documentation/javadoc issue or
a bug, either way it needs a resolution and best to track it there:
https://github.com/eclipse/january/issues/new

Thanks
Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 13 December 2016 at 21:52, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
Hi Folks,

I've noticed that the impls of the
IDataset.addMetadata(T)/getMetadata(Class<T>) methods in in LazyDatasetBase
don't have any synchronization.  Of course this means that they aren't
threadsafe...i.e. one could get NPE or ConcurrentModificationException when
accessing metadata via multiple threads.

Should this be considered a problem/bug, or is there some other accepted way
for multithreaded access to IDataset metadata?   If a bug/limitation let me
know and I will open one.

Thanks,

Scott

_______________________________________________
january-dev mailing list
january-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/january-dev
_______________________________________________
january-dev mailing list
january-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/january-dev




Back to the top