The org.zkoss.zk.ui.util.ExecutionMonitor"

From Documentation
(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


The org.zkoss.zk.ui.util.ExecutionMonitor


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.



Last Update : 2015/12/29

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.