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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterUpdate(Desktop desktop)
Called when an asynchronous updated has been processed.void
beforeUpdate(Desktop desktop, java.util.List<AuRequest> requests)
Called when an asynchronous updated is called (and not yet processed).void
desktopCreated(Desktop desktop)
Called when a desktop is created.void
desktopDestroyed(Desktop desktop)
Called when a desktop is being destroyed.void
sessionCreated(Session sess)
Called when a new session is created.void
sessionDestroyed(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 ofAuRequest
that 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
-
-