Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » QAnywhere » QAnywhere 代理 » 消息传输策略

 

[调度] 策略

[调度] 策略指示代理以指定的时间间隔执行消息传输。

要调用 [调度] 策略,在 [命令文件属性] 窗口中单击 scheduled,或在启动 QAnywhere 代理时指定此关键字:

qaagent -policy scheduled [ interval ] ...

其中 interval 以秒为单位。

缺省值为 900 秒(15 分钟)。

指定调度后,只要满足以下任何一个条件,代理就将每隔 n 秒钟执行一次消息传输:

可调用 TriggerSendReceive 方法来替换时间间隔。该方法会强制在时间间隔结束前传输消息。

请参见: