Developing Apama Applications > Developing Apama Applications in EPL > Defining Monitors > About monitor contents > Unloading monitors from the correlator
Unloading monitors from the correlator
The correlator unloads a monitor in the following situations:
*All of the monitor’s instances have terminated.
*An external request kills the monitor. This kills any instances of the monitor.
If the monitor defines an onunload() statement, the correlator executes it just before it unloads the monitor. You cannot spawn in an onunload() action.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.