public class AgencyMonitorClient
extends java.lang.Object
Constructor and Description |
---|
AgencyMonitorClient() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
monitor(java.lang.String agencyId)
Uses RMI to invoke monitoring of the agency core to see if everything is
operating properly.
|
static java.lang.String |
monitorAllAgencies()
Goes through all agencies in the WebAgency database table that are
marked as active and monitor them to see if there are any problems.
|
static java.lang.String |
pingAgency(java.lang.String agencyId)
Member Functions
|
static java.lang.String |
pingAllAgencies()
Does a simple ping to each agency to make sure that the core for that
agency is running and can communicate with it via IPC.
|
public static java.lang.String pingAgency(java.lang.String agencyId)
public static java.lang.String pingAllAgencies()
public static java.lang.String monitor(java.lang.String agencyId)
agencyId
- Which agency to monitorpublic static java.lang.String monitorAllAgencies()
Probably not needed if using MonitoringModule which already monitors an agency repeatedly.