Package de.xima.fc.fs.server.monitoring
Class FSMonitor
- java.lang.Object
-
- de.xima.fc.fs.server.monitoring.FSMonitor
-
- All Implemented Interfaces:
FSMonitorMBean
public class FSMonitor extends Object implements FSMonitorMBean
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.fs.server.monitoring.FSMonitorMBean
NAME
-
-
Constructor Summary
Constructors Constructor Description FSMonitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getfailed_login_count()
static FSMonitor
getInstance()
static String
getInstanceName()
long
getsession_count_backend()
long
getsession_count_form()
long
getsession_count_form(long clientId)
String
getstatus()
boolean
isconnected()
boolean
isrunning()
static void
register()
void
restart()
restart the serverstatic void
unregister()
-
-
-
Method Detail
-
getInstance
public static FSMonitor getInstance()
-
getInstanceName
public static String getInstanceName()
-
register
public static void register()
-
unregister
public static void unregister()
-
isconnected
public boolean isconnected()
- Specified by:
isconnected
in interfaceFSMonitorMBean
-
isrunning
public boolean isrunning()
- Specified by:
isrunning
in interfaceFSMonitorMBean
-
getstatus
public String getstatus()
- Specified by:
getstatus
in interfaceFSMonitorMBean
-
getfailed_login_count
public long getfailed_login_count()
- Specified by:
getfailed_login_count
in interfaceFSMonitorMBean
-
restart
public void restart()
Description copied from interface:FSMonitorMBean
restart the server- Specified by:
restart
in interfaceFSMonitorMBean
-
getsession_count_form
public long getsession_count_form(long clientId)
- Specified by:
getsession_count_form
in 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_form
in interfaceFSMonitorMBean
- Returns:
- The number of active form sessions on this frontend server.
-
getsession_count_backend
public long getsession_count_backend()
- Specified by:
getsession_count_backend
in interfaceFSMonitorMBean
- Returns:
- The number of active backend sessions on this master server.
-
-