The org.zkoss.zk.ui.util.ExecutionMonitor"
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Listener:''' org.zkoss.zk.ui.util.ExecutionMonitor An application-level listener to know when an execution is activated, deactivated,...") |
|||
Line 2: | Line 2: | ||
'''Listener:''' | '''Listener:''' | ||
− | org.zkoss.zk.ui.util.ExecutionMonitor | + | org.zkoss.zk.ui.util.ExecutionMonitor |
An application-level listener to know when an execution is activated, deactivated, or waiting for activation. In addition, it also monitors the processing of an event, such that it can be used to monitor the performance of the processing of events (while PerformanceMeter monitors the AU requests). | An application-level listener to know when an execution is activated, deactivated, or waiting for activation. In addition, it also monitors the processing of an event, such that it can be used to monitor the performance of the processing of events (while PerformanceMeter monitors the AU requests). |
Revision as of 09:07, 29 December 2015
Listener:
org.zkoss.zk.ui.util.ExecutionMonitor
An application-level listener to know when an execution is activated, deactivated, or waiting for activation. In addition, it also monitors the processing of an event, such that it can be used to monitor the performance of the processing of events (while PerformanceMeter monitors the AU requests).
A listener could implement ExecutionMonitor to monitor executions.
Instantiation: Please note that a single listener is used for the whole application. It should be thread-safe and efficient to avoid reducing general performance. In addition, it shouldn't throw any exception, and shouldn't hold a reference to executions. If references to desktops are held, they should be cleaned up when desktopDestroy(org.zkoss.zk.ui.Desktop) is called.