Github user ajs6f commented on a diff in the pull request:
https://github.com/apache/jena/pull/233#discussion_r110179015
--- Diff:
jena-arq/src/main/java/org/apache/jena/sparql/core/mosaic/LockTry.java ---
@@ -0,0 +1,8 @@
+package org.apache.jena.sparql.core.mosaic;
+
+import org.apache.jena.shared.Lock;
+
+public interface LockTry extends Lock {
+
+ boolean tryEnterCriticalSection(boolean readLockRequested);
--- End diff --
It might be nice to put a Javadoc comment on this to make the required
semantics precisely known. They seem clear now, but as Jena's concurrency
evolves, they might get less so.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---