shutdown

The runtime environment calls the shutdown method when the runtime server shuts down. If there are any clean up tasks required by your learning module, they should execute at this time.

shutdown(ILearningConfig config, boolean debug)

Shutdown method workflow

The shutdown method requires the following parameters.

  • config - an ILearningConfig object which defines all the configuration properties.
  • debug - a boolean. If true, indicates the logging level verbosity for the runtime environment system is set to debug. For best results, select this value before writing to a log.

If the shutdown method fails for any reason, it throws a LearningException.

Return value

None.