Loading TOC...

temporal.getLsqtAutomationLag

temporal.getLsqtAutomationLag(
   $temporal-collection as String
) as Number

Summary

When the LSQT is advanced automatically, this function returns how far behind (in milliseconds) the Last Stable Query Time (LSQT) is from latest system time.

For details on how to use LSQT, see Last Stable Query Time (LSQT) and Application-controlled System Time in the Temporal Developer's Guide

Parameters
$temporal-collection The name of temporal collection.

Example

var temporal = require("/MarkLogic/temporal.xqy");
temporal.getLsqtAutomationLag("temporalCollection");
=>
1000

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy