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

From Documentation
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  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 monitor executions on activation, deactivation, or waiting for activation. It can also monitors event processing , enabling it to gather information on the event processing order and performance, while PerformanceMeter can be used to monitors the AU requests.
  
 
A listener could implement <javadoc type="interface">org.zkoss.zk.ui.util.ExecutionMonitor</javadoc> to monitor executions.
 
A listener could implement <javadoc type="interface">org.zkoss.zk.ui.util.ExecutionMonitor</javadoc> to monitor executions.

Latest revision as of 09:17, 29 December 2015


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


Listener:

org.zkoss.zk.ui.util.ExecutionMonitor

An application-level listener to monitor executions on activation, deactivation, or waiting for activation. It can also monitors event processing , enabling it to gather information on the event processing order and performance, while PerformanceMeter can be used to 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.