Class MSMonitor

java.lang.Object
de.xima.fc.ms.monitoring.MSMonitor
All Implemented Interfaces:
MSMonitorMBean

public class MSMonitor extends Object implements MSMonitorMBean
  • Method Details

    • getInstance

      public static MSMonitor getInstance()
    • getInstanceName

      public static String getInstanceName()
    • register

      public static void register()
    • unregister

      public static void unregister()
    • isrunning

      public boolean isrunning()
      Specified by:
      isrunning in interface MSMonitorMBean
    • getfs_connected

      public Map<String,Boolean> getfs_connected()
      Specified by:
      getfs_connected in interface MSMonitorMBean
    • getfs_disconnected_count

      public int getfs_disconnected_count()
      Specified by:
      getfs_disconnected_count in interface MSMonitorMBean
    • getfs_connected_count

      public int getfs_connected_count()
      Specified by:
      getfs_connected_count in interface MSMonitorMBean
    • isdb_connected

      public boolean isdb_connected()
      Specified by:
      isdb_connected in interface MSMonitorMBean
    • getfs_active

      public Map<String,Boolean> getfs_active()
      Specified by:
      getfs_active in interface MSMonitorMBean
    • getfs_status

      public Map<String,String> getfs_status()
      Specified by:
      getfs_status in interface MSMonitorMBean
    • getfailed_login_count

      public long getfailed_login_count()
      Specified by:
      getfailed_login_count in interface MSMonitorMBean
    • connect_frontendserver_by_name

      public boolean connect_frontendserver_by_name(String fsName, boolean force)
      Description copied from interface: MSMonitorMBean
      Trigger (re-)connect to a frontend server
      Specified by:
      connect_frontendserver_by_name in interface MSMonitorMBean
      Parameters:
      fsName - name of the frontend server
      force - if true reconnect to the server even if it is already connected
      Returns:
      whether or not the (re-)connect was successful
    • connect_frontendserver_by_id

      public boolean connect_frontendserver_by_id(long fsId, boolean force)
      Description copied from interface: MSMonitorMBean
      Trigger (re-)connect to a frontend server
      Specified by:
      connect_frontendserver_by_id in interface MSMonitorMBean
      Parameters:
      fsId - ID of the frontend server
      force - if true reconnect to the server even if it is already connected
      Returns:
      whether or not the (re-)connect was successful
    • getsession_count_form

      public long getsession_count_form()
      Specified by:
      getsession_count_form in interface MSMonitorMBean
      Returns:
      The number of active form sessions on this master server.
    • getsession_count_form

      public long getsession_count_form(long clientId)
      Specified by:
      getsession_count_form in interface MSMonitorMBean
      Parameters:
      clientId - ID of the client for which to look for form sessions.
      Returns:
      The number of active form sessions on this master server for the given client.
    • getsession_count_backend

      public long getsession_count_backend()
      Specified by:
      getsession_count_backend in interface MSMonitorMBean
      Returns:
      The number of active backend sessions on this master server.
    • is_system_license_valid

      public boolean is_system_license_valid()
      Specified by:
      is_system_license_valid in interface MSMonitorMBean
      Returns:
      true if the system license is valid, false otherwise