shutdown
shutdown(ILearningConfig config, boolean debug)
当运行时服务器关闭时,运行时环境将调用 shutdown 方法。如果有您的学习模块所必需的任何清除任务,那么这些任务应在此时运行。
shutdown 方法需要以下参数。
*
config - ILearningConfig 对象,用于定义所有配置属性。
*
debug - 布尔值。如果为 true,那么指示运行时环境系统的记录级别详细程度设置为调试。为了获得最佳结果,请在写入到日志之前选择此值。
如果 shutdown 方法由于任何原因而失败,那么将抛出 LearningException
返回值
无。