-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] what are possible use-cases of ConcurrentOWLOntologyImpl
?
#1110
Comments
ConcurrentOWLOntologyImpl is used when an ontology is accessed by multiple threads, some of which might be making changes to the ontology. (If all threads only read form the ontology, then there's no need to use locks). Not sure which apps are currently relying on it. There was one such app when the functionality was introduced. |
Protege with awt\swing events in Event Dispatch Thread? |
No it was an app being developed for an academic/commercial partnership. Details are a bit fuzzy as this was approximately 2010, we kept getting concurrent modification exceptions and hashmaps stuck because of add operations happening during get operations. I think there was a second use case, where locking was required to allow imported ontologies to show as loaded while their imports closure was being loaded, but I can't recall enough details. There's also the fact that many axiom indexes are lazily built and expensive, meaning that avoiding duplicate work is important, but I don't think the locks as implemented make a difference. |
Is it important for OWLAPI ?
Which applications use this functionality?
see also owlcs/ont-api#51
The text was updated successfully, but these errors were encountered: