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 Details

    • 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, List<AuRequest> requests)
      Called when an asynchronous updated is called (and not yet processed).
      Parameters:
      desktop - the desktop that the update is sent to
      requests - a list of AuRequest 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