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 TypeMethodDescriptionlong
static FSMonitor
static String
long
long
long
getsession_count_form
(long clientId) boolean
boolean
static void
register()
void
restart()
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:
isconnected
in interfaceFSMonitorMBean
-
isrunning
public boolean isrunning()- Specified by:
isrunning
in interfaceFSMonitorMBean
-
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.
-