Changes

Jump to navigation Jump to search
623 bytes added ,  15:36, 23 June 2020
no edit summary
Please visit the XQuery 3.0 specification if you want to get more insight into
[http://www.w3.org/TR/xpath-functions-30/#properties-of-functions function properties].
 
==Updates==
 
{{Mark|Introduced with Version 9.4.}}
 
The {{Code|@Updating}} annotation can be applied to mark Java functions that perform write or update operations:
 
<syntaxhighlight lang="java">
@Updating
public void backup() {
// ...
}
</syntaxhighlight>
 
If the function call is parsed, it will be wrapped with a {{Function|Update|update:output}} function call. In contrast to other update operations, the Java function will be executed directly when it is called.
 
If updating annotations are combined with locks, concurrent operations can be queued:
==Locking==
; Version 9.4
* Added: Annotation for [[#Updates|updating functions]].
* Updated: Single annotation for read and write locks.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu