Class MSMonitor

    • Method Detail

      • getInstance

        public static MSMonitor getInstance()
      • getInstanceName

        public static String getInstanceName()
      • register

        public static void register()
      • unregister

        public static void unregister()
      • 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.