stop json listener 参数:停止有线监听器

随同 admin()task() 函数,使用 stop json listener 参数来停止有线监听器。

语法

元素 描述 关键考虑
property_file 要使用的资产文件名,不是缺省的。 property_file 是可选的。缺省资产文件在 $GBASEDBTDIR/etc/jsonListener.properties 中。
listener_arguments 要传递到有线监听器的命令行参数。  

用法

stop json listener 参数停止有线监听器。

示例

在下列示例中,通过使用 mycustom.properties 文件停止有线监听器,而不通过缺省 jsonListener.properties 文件:
EXECUTE FUNCTION task("stop json listener", "mycustom.properties");
在这个示例中,通过使用 mycustom.properties 文件停止有线监听器,而不通过缺省 jsonListener.properties,且传递到有线监听器命令行参数:
EXECUTE FUNCTION task("stop json listener", "mycustom.properties", "-port 27018");