Package de.xima.fc.ms.monitoring
Class MSMonitor
java.lang.Object
de.xima.fc.ms.monitoring.MSMonitor
- All Implemented Interfaces:
MSMonitorMBean
-
Method Summary
Modifier and TypeMethodDescriptionbooleanconnect_frontendserver_by_id(long fsId, boolean force) Trigger (re-)connect to a frontend serverbooleanconnect_frontendserver_by_name(String fsName, boolean force) Trigger (re-)connect to a frontend serverlongintintstatic MSMonitorstatic Stringlonglonglonggetsession_count_form(long clientId) booleanbooleanbooleanstatic voidregister()static void
-
Method Details
-
getInstance
-
getInstanceName
-
register
public static void register() -
unregister
public static void unregister() -
isrunning
public boolean isrunning()- Specified by:
isrunningin interfaceMSMonitorMBean
-
getfs_connected
- Specified by:
getfs_connectedin interfaceMSMonitorMBean
-
getfs_disconnected_count
public int getfs_disconnected_count()- Specified by:
getfs_disconnected_countin interfaceMSMonitorMBean
-
getfs_connected_count
public int getfs_connected_count()- Specified by:
getfs_connected_countin interfaceMSMonitorMBean
-
isdb_connected
public boolean isdb_connected()- Specified by:
isdb_connectedin interfaceMSMonitorMBean
-
getfs_active
- Specified by:
getfs_activein interfaceMSMonitorMBean
-
getfs_status
- Specified by:
getfs_statusin interfaceMSMonitorMBean
-
getfailed_login_count
public long getfailed_login_count()- Specified by:
getfailed_login_countin interfaceMSMonitorMBean
-
connect_frontendserver_by_name
Description copied from interface:MSMonitorMBeanTrigger (re-)connect to a frontend server- Specified by:
connect_frontendserver_by_namein interfaceMSMonitorMBean- Parameters:
fsName- name of the frontend serverforce- iftruereconnect 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:MSMonitorMBeanTrigger (re-)connect to a frontend server- Specified by:
connect_frontendserver_by_idin interfaceMSMonitorMBean- Parameters:
fsId- ID of the frontend serverforce- iftruereconnect 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_formin interfaceMSMonitorMBean- 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_formin interfaceMSMonitorMBean- 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_backendin interfaceMSMonitorMBean- 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_validin interfaceMSMonitorMBean- Returns:
trueif the system license is valid,falseotherwise
-