Package de.xima.fc.fs.server.monitoring
Class FSMonitor
java.lang.Object
de.xima.fc.fs.server.monitoring.FSMonitor
- All Implemented Interfaces:
FSMonitorMBean
-
Field Summary
Fields inherited from interface de.xima.fc.fs.server.monitoring.FSMonitorMBean
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongstatic FSMonitorstatic Stringlonglonglonggetsession_count_form(long clientId) booleanbooleanstatic voidregister()voidrestart()restart the serverstatic void
-
Constructor Details
-
FSMonitor
public FSMonitor()
-
-
Method Details
-
getInstance
-
getInstanceName
-
register
public static void register() -
unregister
public static void unregister() -
isconnected
public boolean isconnected()- Specified by:
isconnectedin interfaceFSMonitorMBean
-
isrunning
public boolean isrunning()- Specified by:
isrunningin interfaceFSMonitorMBean
-
getstatus
- Specified by:
getstatusin interfaceFSMonitorMBean
-
getfailed_login_count
public long getfailed_login_count()- Specified by:
getfailed_login_countin interfaceFSMonitorMBean
-
restart
public void restart()Description copied from interface:FSMonitorMBeanrestart the server- Specified by:
restartin interfaceFSMonitorMBean
-
getsession_count_form
public long getsession_count_form(long clientId) - Specified by:
getsession_count_formin interfaceFSMonitorMBean- 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_form
public long getsession_count_form()- Specified by:
getsession_count_formin interfaceFSMonitorMBean- Returns:
- The number of active form sessions on this frontend server.
-
getsession_count_backend
public long getsession_count_backend()- Specified by:
getsession_count_backendin interfaceFSMonitorMBean- Returns:
- The number of active backend sessions on this master server.
-