xdmp.requestCancel( hostID as (Number|String), serverID as (Number|String), requestID as (Number|String) ) as null
Cancel the request with the given host, server, and request IDs.
http://marklogic.com/xdmp/privileges/cancel-any-request
or
http://marklogic.com/xdmp/privileges/cancel-my-requests
To find out the status of the request after it has been canceled,
you can call xdmp:server-status
, which has information
about each request active or being canceled on the server. Once a request
has completed canceling, it will no longer appear in the output of
xdmp:server-status
.
xdmp.requestCancel(xdmp.host("myhost"), xdmp.server("myAppServerName"), 98394839084390843) => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.