MarkLogic 12 EA 1 Product Documentation
xdmp.transactionLocks

xdmp.transactionLocks(
   [host-id as (Number|String)],
   [txn-id as (Number|String)]
) as Object

Summary

Returns all URIs currently locked for read or write by a transaction. If the transaction is waiting to lock a URI, that URI is returned too.

Parameters
host-id An optional host ID. If omitted, the local App Server host is assumed. If a host ID is specified, then a transaction ID should also be specified.
txn-id An optional transaction ID. If omitted, the current transaction is assumed. If a transaction ID is specified, then a host ID should also be specified.

Required Privileges

http://marklogic.com/xdmp/privileges/my-transaction-locks

http://marklogic.com/xdmp/privileges/any-transaction-locks

See Also

Powered by MarkLogic Server | Terms of Use | Privacy Policy