The org.zkoss.zk.ui.util.Monitor interface"

From Documentation
Line 10: Line 10:
 
'''Instantiation:'''
 
'''Instantiation:'''
 
Unlike most other listeners, at most one monitor is allowed in one application.
 
Unlike most other listeners, at most one monitor is allowed in one application.
In additions, it is shared, so the implementation must be thread safe.
+
In addition, it is shared, so the implementation must be thread safe.
  
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Revision as of 02:13, 8 August 2011


The org.zkoss.zk.ui.util.Monitor interface


Listener:

org.zkoss.zk.ui.util.Monitor

A listener could implement Monitor to monitor the statuses of ZK. Unlike other listeners, there is at most one monitor listener for each Web application. If you like, you can chain them together manually.

ZK provides an implementation named Statistic, which accumulates the statistic data in the memory. It is a good starting point to understand the loading of your ZK application.

Instantiation: Unlike most other listeners, at most one monitor is allowed in one application. In addition, it is shared, so the implementation must be thread safe.



Last Update : 2011/08/08

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