Package de.xima.fc.ms.monitoring
Interface MSMonitorMBean
-
- All Known Implementing Classes:
MSMonitor
public interface MSMonitorMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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
getfailed_login_count()
Map<String,Boolean>
getfs_active()
Map<String,Boolean>
getfs_connected()
int
getfs_connected_count()
int
getfs_disconnected_count()
Map<String,String>
getfs_status()
long
getsession_count_backend()
long
getsession_count_form()
long
getsession_count_form(long clientId)
boolean
isdb_connected()
boolean
isrunning()
-
-
-
Method Detail
-
isrunning
boolean isrunning()
-
isdb_connected
boolean isdb_connected()
-
getfs_disconnected_count
int getfs_disconnected_count()
-
getfs_connected_count
int getfs_connected_count()
-
getfailed_login_count
long getfailed_login_count()
-
getsession_count_form
long getsession_count_form()
- Returns:
- The number of active form sessions on this master server.
-
getsession_count_form
long getsession_count_form(long clientId)
- 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
long getsession_count_backend()
- Returns:
- The number of active backend sessions on this master server.
-
connect_frontendserver_by_name
boolean connect_frontendserver_by_name(String fsName, boolean force)
Trigger (re-)connect to a frontend server- 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
boolean connect_frontendserver_by_id(long fsId, boolean force)
Trigger (re-)connect to a frontend server- 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
-
-