Changes

Jump to navigation Jump to search
46 bytes added ,  08:28, 24 June 2020
===Java Locks===
Java provides numerous ways a handful of mechanism to synchronize control the execution of code. In simple cases, The concurrent execution of functions can be avoided with the {{Code|synchronized}} keyword can be used. For more complex scenarios, Lock and Semaphor and Atomic classes exist.
===XQuery Locks===
</syntaxhighlight>
When an XQuery expression calls the Java {{Code|write()}} function, every any other query that calls call {{Code|write()}} or {{Code|read()}} needs to wait for the query to be finished. If The {{Code|read()}} is called, function can be run in parallel; only those queries are queued that call {{Code|write()}}.
More details on parallel query execution concurrent querying can be found in the article on [[Transaction Management]].
==Data Types==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu