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 TypeMethodDescriptionboolean
connect_frontendserver_by_id
(long fsId, boolean force) Trigger (re-)connect to a frontend serverboolean
connect_frontendserver_by_name
(String fsName, boolean force) Trigger (re-)connect to a frontend serverlong
int
int
static MSMonitor
static String
long
long
long
getsession_count_form
(long clientId) boolean
boolean
boolean
static void
register()
static void
-
Method Details
-
getInstance
-
getInstanceName
-
register
public static void register() -
unregister
public static void unregister() -
isrunning
public boolean isrunning()- Specified by:
isrunning
in interfaceMSMonitorMBean
-
getfs_connected
- Specified by:
getfs_connected
in interfaceMSMonitorMBean
-
getfs_disconnected_count
public int getfs_disconnected_count()- Specified by:
getfs_disconnected_count
in interfaceMSMonitorMBean
-
getfs_connected_count
public int getfs_connected_count()- Specified by:
getfs_connected_count
in interfaceMSMonitorMBean
-
isdb_connected
public boolean isdb_connected()- Specified by:
isdb_connected
in interfaceMSMonitorMBean
-
getfs_active
- Specified by:
getfs_active
in interfaceMSMonitorMBean
-
getfs_status
- Specified by:
getfs_status
in interfaceMSMonitorMBean
-
getfailed_login_count
public long getfailed_login_count()- Specified by:
getfailed_login_count
in interfaceMSMonitorMBean
-
connect_frontendserver_by_name
Description copied from interface:MSMonitorMBean
Trigger (re-)connect to a frontend server- Specified by:
connect_frontendserver_by_name
in interfaceMSMonitorMBean
- Parameters:
fsName
- name of the frontend serverforce
- iftrue
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 interfaceMSMonitorMBean
- Parameters:
fsId
- ID of the frontend serverforce
- iftrue
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 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_form
in 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_backend
in 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_valid
in interfaceMSMonitorMBean
- Returns:
true
if the system license is valid,false
otherwise
-