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 < | + | 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> | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{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>