Package org.zkoss.zk.ui.util
Interface Monitor
- All Known Implementing Classes:
Statistic
public interface Monitor
A listener to monitor the status of ZK engine.
It is usually used to accumulate the statistic data about the number
of sessions, desktops and updates.
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterUpdate(Desktop desktop) Called when an asynchronous updated has been processed.voidbeforeUpdate(Desktop desktop, List<AuRequest> requests) Called when an asynchronous updated is called (and not yet processed).voiddesktopCreated(Desktop desktop) Called when a desktop is created.voiddesktopDestroyed(Desktop desktop) Called when a desktop is being destroyed.voidsessionCreated(Session sess) Called when a new session is created.voidsessionDestroyed(Session sess) Called when a session is being destroyed.
-
Method Details
-
sessionCreated
Called when a new session is created.- Parameters:
sess- the session being created
-
sessionDestroyed
Called when a session is being destroyed.- Parameters:
sess- the session being destroyed
-
desktopCreated
Called when a desktop is created.- Parameters:
desktop- the desktop being created
-
desktopDestroyed
Called when a desktop is being destroyed.- Parameters:
desktop- the desktop being destroyed
-
beforeUpdate
Called when an asynchronous updated is called (and not yet processed).- Parameters:
desktop- the desktop that the update is sent torequests- a list ofAuRequestthat are being processed.
-
afterUpdate
Called when an asynchronous updated has been processed.- Parameters:
desktop- the desktop that the update is sent to
-