public class MSMonitor extends Object implements MSMonitorMBean
Modifier and Type | Method and Description |
---|---|
boolean |
connect_frontendserver_by_id(long fsId,
boolean force)
Trigger (re-)connect to a frontend server
|
boolean |
connect_frontendserver_by_name(String fsName,
boolean force)
Trigger (re-)connect to a frontend server
|
long |
getfailed_login_count() |
Map<String,Boolean> |
getfs_active() |
int |
getfs_connected_count() |
Map<String,Boolean> |
getfs_connected() |
int |
getfs_disconnected_count() |
Map<String,String> |
getfs_status() |
static MSMonitor |
getInstance() |
static String |
getInstanceName() |
boolean |
isdb_connected() |
boolean |
isrunning() |
static void |
register() |
static void |
unregister() |
public static MSMonitor getInstance()
public static String getInstanceName()
public static void register()
public static void unregister()
public boolean isrunning()
isrunning
in interface MSMonitorMBean
public Map<String,Boolean> getfs_connected()
getfs_connected
in interface MSMonitorMBean
public int getfs_disconnected_count()
getfs_disconnected_count
in interface MSMonitorMBean
public int getfs_connected_count()
getfs_connected_count
in interface MSMonitorMBean
public boolean isdb_connected()
isdb_connected
in interface MSMonitorMBean
public Map<String,Boolean> getfs_active()
getfs_active
in interface MSMonitorMBean
public Map<String,String> getfs_status()
getfs_status
in interface MSMonitorMBean
public long getfailed_login_count()
getfailed_login_count
in interface MSMonitorMBean
public boolean connect_frontendserver_by_name(String fsName, boolean force)
MSMonitorMBean
connect_frontendserver_by_name
in interface MSMonitorMBean
fsName
- name of the frontend serverforce
- if true
reconnect to the server even if it is already connectedpublic boolean connect_frontendserver_by_id(long fsId, boolean force)
MSMonitorMBean
connect_frontendserver_by_id
in interface MSMonitorMBean
fsId
- ID of the frontend serverforce
- if true
reconnect to the server even if it is already connectedCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.