Loading Monitors"

From Documentation
m
m (remove empty version history (via JWB))
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
To know the loading of an application, you could implement <javadoc type="interface">org.zkoss.zk.ui.util.Monitor</javadoc> to count the number of desktops, sessions and requests.
 
To know the loading of an application, you could implement <javadoc type="interface">org.zkoss.zk.ui.util.Monitor</javadoc> to count the number of desktops, sessions and requests.
  
Once implemented, you could register it by specifying the following in <tt>WEB-INF/zk.xml</tt> (assume the class is called foo.MyStatistic):
+
Once implemented, you could register it by specifying the following in <code>WEB-INF/zk.xml</code> (assume the class is called foo.MyStatistic):
  
 
<source lang="xml">
 
<source lang="xml">
Line 13: Line 13:
 
</source>
 
</source>
  
=Version History=
+
 
{{LastUpdated}}
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
|-
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
|}
 
  
 
{{ZKDevelopersReferencePageFooter}}
 
{{ZKDevelopersReferencePageFooter}}

Latest revision as of 10:23, 5 February 2024

To know the loading of an application, you could implement Monitor to count the number of desktops, sessions and requests.

Once implemented, you could register it by specifying the following in WEB-INF/zk.xml (assume the class is called foo.MyStatistic):

<zk>
    <listener>
        <listener-class>foo.MyStatistic</listener-class>
    </listener>
</zk>




Last Update : 2024/02/05

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