Package org.zkoss.zk.ui.util
Interface Monitor
-
- All Known Implementing Classes:
Statistic
public interface MonitorA 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterUpdate(Desktop desktop)Called when an asynchronous updated has been processed.voidbeforeUpdate(Desktop desktop, java.util.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 Detail
-
sessionCreated
void sessionCreated(Session sess)
Called when a new session is created.- Parameters:
sess- the session being created
-
sessionDestroyed
void sessionDestroyed(Session sess)
Called when a session is being destroyed.- Parameters:
sess- the session being destroyed
-
desktopCreated
void desktopCreated(Desktop desktop)
Called when a desktop is created.- Parameters:
desktop- the desktop being created
-
desktopDestroyed
void desktopDestroyed(Desktop desktop)
Called when a desktop is being destroyed.- Parameters:
desktop- the desktop being destroyed
-
beforeUpdate
void beforeUpdate(Desktop desktop, java.util.List<AuRequest> requests)
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
void afterUpdate(Desktop desktop)
Called when an asynchronous updated has been processed.- Parameters:
desktop- the desktop that the update is sent to
-
-